Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomResourceDefinitionKind = resource.Kind{ Group: "apiextensions.k8s.io", Version: "v1beta1", Kind: "CustomResourceDefinition", Scoped: false, }
View Source
var CustomResourceDefinitionResource = resource.Type{ Kind: CustomResourceDefinitionKind, Name: "customresourcedefinitions", }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CustomResourceDefinitionsClient }
type CustomResourceDefinition ¶
type CustomResourceDefinition struct { *resource.Resource Object *apiextensionsv1beta1.CustomResourceDefinition }
func NewCustomResourceDefinition ¶
func NewCustomResourceDefinition(customResourceDefinition *apiextensionsv1beta1.CustomResourceDefinition, client resource.Client) *CustomResourceDefinition
type CustomResourceDefinitionsClient ¶
type CustomResourceDefinitionsClient interface {
CustomResourceDefinitions() CustomResourceDefinitionsReader
}
func NewCustomResourceDefinitionsClient ¶
func NewCustomResourceDefinitionsClient(resources resource.Client, filter resource.Filter) CustomResourceDefinitionsClient
type CustomResourceDefinitionsReader ¶
type CustomResourceDefinitionsReader interface { Get(ctx context.Context, name string) (*CustomResourceDefinition, error) List(ctx context.Context) ([]*CustomResourceDefinition, error) }
func NewCustomResourceDefinitionsReader ¶
func NewCustomResourceDefinitionsReader(client resource.Client, filter resource.Filter) CustomResourceDefinitionsReader
Click to show internal directories.
Click to hide internal directories.