attributes

package
v2.0.0-...-1d53c46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(s *types.APISchema) interface{}

func AddDisallowMethods

func AddDisallowMethods(s *types.APISchema, methods ...string)

func Columns

func Columns(s *types.APISchema) interface{}

func DisallowMethods

func DisallowMethods(s *types.APISchema) map[string]bool

func Group

func Group(s *types.APISchema) string

func Kind

func Kind(s *types.APISchema) string

func Namespaced

func Namespaced(s *types.APISchema) bool

func PreferredGroup

func PreferredGroup(s *types.APISchema) string

func PreferredVersion

func PreferredVersion(s *types.APISchema) string

func Resource

func Resource(s *types.APISchema) string

func SetAPIResource

func SetAPIResource(s *types.APISchema, resource v1.APIResource)

func SetAccess

func SetAccess(s *types.APISchema, access interface{})

func SetColumns

func SetColumns(s *types.APISchema, columns interface{})

func SetGR

func SetGR(s *types.APISchema, gr schema.GroupResource)

func SetGVK

func SetGVK(s *types.APISchema, gvk schema.GroupVersionKind)

func SetGVR

func SetGroup

func SetGroup(s *types.APISchema, value string)

func SetKind

func SetKind(s *types.APISchema, value string)

func SetNamespaced

func SetNamespaced(s *types.APISchema, value bool)

func SetPreferredGroup

func SetPreferredGroup(s *types.APISchema, ver string)

func SetPreferredVersion

func SetPreferredVersion(s *types.APISchema, ver string)

func SetResource

func SetResource(s *types.APISchema, value string)

func SetTable

func SetTable(s *types.APISchema, value bool)

func SetVerbs

func SetVerbs(s *types.APISchema, verbs []string)

func SetVersion

func SetVersion(s *types.APISchema, value string)

func Table

func Table(s *types.APISchema) bool

func Verbs

func Verbs(s *types.APISchema) []string

func Version

func Version(s *types.APISchema) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL