Documentation ¶
Index ¶
- func AccessControlListMerge(f AccessControlListMergeFunc) v1.UpdateOption
- func CommandLineInterfaceMerge(f CommandLineInterfaceMergeFunc) v1.UpdateOption
- func ResourceDefinitionMerge(f ResourceDefinitionMergeFunc) v1.UpdateOption
- func ResourceDefinitionVersionMerge(f ResourceDefinitionVersionMergeFunc) v1.UpdateOption
- func ResourceGroupMerge(f ResourceGroupMergeFunc) v1.UpdateOption
- type AccessControlListClient
- func (c *AccessControlListClient) Create(res *m.AccessControlList, opts ...v1.CreateOption) (*m.AccessControlList, error)
- func (c *AccessControlListClient) Delete(res *m.AccessControlList) error
- func (c *AccessControlListClient) Get(name string) (*m.AccessControlList, error)
- func (c *AccessControlListClient) List(options ...v1.ListOptions) ([]*m.AccessControlList, error)
- func (c *AccessControlListClient) Update(res *m.AccessControlList, opts ...v1.UpdateOption) (*m.AccessControlList, error)
- type AccessControlListMergeFunc
- type CommandLineInterfaceClient
- func (c *CommandLineInterfaceClient) Create(res *m.CommandLineInterface, opts ...v1.CreateOption) (*m.CommandLineInterface, error)
- func (c *CommandLineInterfaceClient) Delete(res *m.CommandLineInterface) error
- func (c *CommandLineInterfaceClient) Get(name string) (*m.CommandLineInterface, error)
- func (c *CommandLineInterfaceClient) List(options ...v1.ListOptions) ([]*m.CommandLineInterface, error)
- func (c *CommandLineInterfaceClient) Update(res *m.CommandLineInterface, opts ...v1.UpdateOption) (*m.CommandLineInterface, error)
- type CommandLineInterfaceMergeFunc
- type ResourceDefinitionClient
- func (c *ResourceDefinitionClient) Create(res *m.ResourceDefinition, opts ...v1.CreateOption) (*m.ResourceDefinition, error)
- func (c *ResourceDefinitionClient) Delete(res *m.ResourceDefinition) error
- func (c *ResourceDefinitionClient) Get(name string) (*m.ResourceDefinition, error)
- func (c *ResourceDefinitionClient) List(options ...v1.ListOptions) ([]*m.ResourceDefinition, error)
- func (c *ResourceDefinitionClient) Update(res *m.ResourceDefinition, opts ...v1.UpdateOption) (*m.ResourceDefinition, error)
- type ResourceDefinitionMergeFunc
- type ResourceDefinitionVersionClient
- func (c *ResourceDefinitionVersionClient) Create(res *m.ResourceDefinitionVersion, opts ...v1.CreateOption) (*m.ResourceDefinitionVersion, error)
- func (c *ResourceDefinitionVersionClient) Delete(res *m.ResourceDefinitionVersion) error
- func (c *ResourceDefinitionVersionClient) Get(name string) (*m.ResourceDefinitionVersion, error)
- func (c *ResourceDefinitionVersionClient) List(options ...v1.ListOptions) ([]*m.ResourceDefinitionVersion, error)
- func (c *ResourceDefinitionVersionClient) Update(res *m.ResourceDefinitionVersion, opts ...v1.UpdateOption) (*m.ResourceDefinitionVersion, error)
- type ResourceDefinitionVersionMergeFunc
- type ResourceGroupClient
- func (c *ResourceGroupClient) Create(res *m.ResourceGroup, opts ...v1.CreateOption) (*m.ResourceGroup, error)
- func (c *ResourceGroupClient) Delete(res *m.ResourceGroup) error
- func (c *ResourceGroupClient) Get(name string) (*m.ResourceGroup, error)
- func (c *ResourceGroupClient) List(options ...v1.ListOptions) ([]*m.ResourceGroup, error)
- func (c *ResourceGroupClient) Update(res *m.ResourceGroup, opts ...v1.UpdateOption) (*m.ResourceGroup, error)
- type ResourceGroupMergeFunc
- type UnscopedAccessControlListClient
- func (c *UnscopedAccessControlListClient) Get(name string) (*m.AccessControlList, error)
- func (c *UnscopedAccessControlListClient) Update(res *m.AccessControlList, opts ...v1.UpdateOption) (*m.AccessControlList, error)
- func (c *UnscopedAccessControlListClient) WithScope(scope string) *AccessControlListClient
- type UnscopedCommandLineInterfaceClient
- func (c *UnscopedCommandLineInterfaceClient) Get(name string) (*m.CommandLineInterface, error)
- func (c *UnscopedCommandLineInterfaceClient) Update(res *m.CommandLineInterface, opts ...v1.UpdateOption) (*m.CommandLineInterface, error)
- func (c *UnscopedCommandLineInterfaceClient) WithScope(scope string) *CommandLineInterfaceClient
- type UnscopedResourceDefinitionClient
- func (c *UnscopedResourceDefinitionClient) Get(name string) (*m.ResourceDefinition, error)
- func (c *UnscopedResourceDefinitionClient) Update(res *m.ResourceDefinition, opts ...v1.UpdateOption) (*m.ResourceDefinition, error)
- func (c *UnscopedResourceDefinitionClient) WithScope(scope string) *ResourceDefinitionClient
- type UnscopedResourceDefinitionVersionClient
- func (c *UnscopedResourceDefinitionVersionClient) Get(name string) (*m.ResourceDefinitionVersion, error)
- func (c *UnscopedResourceDefinitionVersionClient) Update(res *m.ResourceDefinitionVersion, opts ...v1.UpdateOption) (*m.ResourceDefinitionVersion, error)
- func (c *UnscopedResourceDefinitionVersionClient) WithScope(scope string) *ResourceDefinitionVersionClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessControlListMerge ¶
func AccessControlListMerge(f AccessControlListMergeFunc) v1.UpdateOption
AccessControlListMerge builds a merge option for an update operation
func CommandLineInterfaceMerge ¶
func CommandLineInterfaceMerge(f CommandLineInterfaceMergeFunc) v1.UpdateOption
CommandLineInterfaceMerge builds a merge option for an update operation
func ResourceDefinitionMerge ¶
func ResourceDefinitionMerge(f ResourceDefinitionMergeFunc) v1.UpdateOption
ResourceDefinitionMerge builds a merge option for an update operation
func ResourceDefinitionVersionMerge ¶
func ResourceDefinitionVersionMerge(f ResourceDefinitionVersionMergeFunc) v1.UpdateOption
ResourceDefinitionVersionMerge builds a merge option for an update operation
func ResourceGroupMerge ¶
func ResourceGroupMerge(f ResourceGroupMergeFunc) v1.UpdateOption
ResourceGroupMerge builds a merge option for an update operation
Types ¶
type AccessControlListClient ¶
type AccessControlListClient struct {
// contains filtered or unexported fields
}
AccessControlListClient - rest client for AccessControlList resources that have a defined resource scope
func (*AccessControlListClient) Create ¶
func (c *AccessControlListClient) Create(res *m.AccessControlList, opts ...v1.CreateOption) (*m.AccessControlList, error)
Create - creates a resource
func (*AccessControlListClient) Delete ¶
func (c *AccessControlListClient) Delete(res *m.AccessControlList) error
Delete - deletes a resource
func (*AccessControlListClient) Get ¶
func (c *AccessControlListClient) Get(name string) (*m.AccessControlList, error)
Get - gets a resource by name
func (*AccessControlListClient) List ¶
func (c *AccessControlListClient) List(options ...v1.ListOptions) ([]*m.AccessControlList, error)
List - gets a list of resources
func (*AccessControlListClient) Update ¶
func (c *AccessControlListClient) Update(res *m.AccessControlList, opts ...v1.UpdateOption) (*m.AccessControlList, error)
Update - updates a resource
type AccessControlListMergeFunc ¶
type AccessControlListMergeFunc func(*m.AccessControlList, *m.AccessControlList) (*m.AccessControlList, error)
type CommandLineInterfaceClient ¶
type CommandLineInterfaceClient struct {
// contains filtered or unexported fields
}
CommandLineInterfaceClient - rest client for CommandLineInterface resources that have a defined resource scope
func (*CommandLineInterfaceClient) Create ¶
func (c *CommandLineInterfaceClient) Create(res *m.CommandLineInterface, opts ...v1.CreateOption) (*m.CommandLineInterface, error)
Create - creates a resource
func (*CommandLineInterfaceClient) Delete ¶
func (c *CommandLineInterfaceClient) Delete(res *m.CommandLineInterface) error
Delete - deletes a resource
func (*CommandLineInterfaceClient) Get ¶
func (c *CommandLineInterfaceClient) Get(name string) (*m.CommandLineInterface, error)
Get - gets a resource by name
func (*CommandLineInterfaceClient) List ¶
func (c *CommandLineInterfaceClient) List(options ...v1.ListOptions) ([]*m.CommandLineInterface, error)
List - gets a list of resources
func (*CommandLineInterfaceClient) Update ¶
func (c *CommandLineInterfaceClient) Update(res *m.CommandLineInterface, opts ...v1.UpdateOption) (*m.CommandLineInterface, error)
Update - updates a resource
type CommandLineInterfaceMergeFunc ¶
type CommandLineInterfaceMergeFunc func(*m.CommandLineInterface, *m.CommandLineInterface) (*m.CommandLineInterface, error)
type ResourceDefinitionClient ¶
type ResourceDefinitionClient struct {
// contains filtered or unexported fields
}
ResourceDefinitionClient - rest client for ResourceDefinition resources that have a defined resource scope
func (*ResourceDefinitionClient) Create ¶
func (c *ResourceDefinitionClient) Create(res *m.ResourceDefinition, opts ...v1.CreateOption) (*m.ResourceDefinition, error)
Create - creates a resource
func (*ResourceDefinitionClient) Delete ¶
func (c *ResourceDefinitionClient) Delete(res *m.ResourceDefinition) error
Delete - deletes a resource
func (*ResourceDefinitionClient) Get ¶
func (c *ResourceDefinitionClient) Get(name string) (*m.ResourceDefinition, error)
Get - gets a resource by name
func (*ResourceDefinitionClient) List ¶
func (c *ResourceDefinitionClient) List(options ...v1.ListOptions) ([]*m.ResourceDefinition, error)
List - gets a list of resources
func (*ResourceDefinitionClient) Update ¶
func (c *ResourceDefinitionClient) Update(res *m.ResourceDefinition, opts ...v1.UpdateOption) (*m.ResourceDefinition, error)
Update - updates a resource
type ResourceDefinitionMergeFunc ¶
type ResourceDefinitionMergeFunc func(*m.ResourceDefinition, *m.ResourceDefinition) (*m.ResourceDefinition, error)
type ResourceDefinitionVersionClient ¶
type ResourceDefinitionVersionClient struct {
// contains filtered or unexported fields
}
ResourceDefinitionVersionClient - rest client for ResourceDefinitionVersion resources that have a defined resource scope
func (*ResourceDefinitionVersionClient) Create ¶
func (c *ResourceDefinitionVersionClient) Create(res *m.ResourceDefinitionVersion, opts ...v1.CreateOption) (*m.ResourceDefinitionVersion, error)
Create - creates a resource
func (*ResourceDefinitionVersionClient) Delete ¶
func (c *ResourceDefinitionVersionClient) Delete(res *m.ResourceDefinitionVersion) error
Delete - deletes a resource
func (*ResourceDefinitionVersionClient) Get ¶
func (c *ResourceDefinitionVersionClient) Get(name string) (*m.ResourceDefinitionVersion, error)
Get - gets a resource by name
func (*ResourceDefinitionVersionClient) List ¶
func (c *ResourceDefinitionVersionClient) List(options ...v1.ListOptions) ([]*m.ResourceDefinitionVersion, error)
List - gets a list of resources
func (*ResourceDefinitionVersionClient) Update ¶
func (c *ResourceDefinitionVersionClient) Update(res *m.ResourceDefinitionVersion, opts ...v1.UpdateOption) (*m.ResourceDefinitionVersion, error)
Update - updates a resource
type ResourceDefinitionVersionMergeFunc ¶
type ResourceDefinitionVersionMergeFunc func(*m.ResourceDefinitionVersion, *m.ResourceDefinitionVersion) (*m.ResourceDefinitionVersion, error)
type ResourceGroupClient ¶
type ResourceGroupClient struct {
// contains filtered or unexported fields
}
ResourceGroupClient - rest client for ResourceGroup resources that have a defined resource scope
func NewResourceGroupClient ¶
func NewResourceGroupClient(c v1.Base) (*ResourceGroupClient, error)
NewResourceGroupClient - creates a client scoped to a particular resource
func (*ResourceGroupClient) Create ¶
func (c *ResourceGroupClient) Create(res *m.ResourceGroup, opts ...v1.CreateOption) (*m.ResourceGroup, error)
Create - creates a resource
func (*ResourceGroupClient) Delete ¶
func (c *ResourceGroupClient) Delete(res *m.ResourceGroup) error
Delete - deletes a resource
func (*ResourceGroupClient) Get ¶
func (c *ResourceGroupClient) Get(name string) (*m.ResourceGroup, error)
Get - gets a resource by name
func (*ResourceGroupClient) List ¶
func (c *ResourceGroupClient) List(options ...v1.ListOptions) ([]*m.ResourceGroup, error)
List - gets a list of resources
func (*ResourceGroupClient) Update ¶
func (c *ResourceGroupClient) Update(res *m.ResourceGroup, opts ...v1.UpdateOption) (*m.ResourceGroup, error)
Update - updates a resource
type ResourceGroupMergeFunc ¶
type ResourceGroupMergeFunc func(*m.ResourceGroup, *m.ResourceGroup) (*m.ResourceGroup, error)
type UnscopedAccessControlListClient ¶
type UnscopedAccessControlListClient struct {
// contains filtered or unexported fields
}
UnscopedAccessControlListClient - rest client for AccessControlList resources that do not have a defined scope
func NewAccessControlListClient ¶
func NewAccessControlListClient(c v1.Base) (*UnscopedAccessControlListClient, error)
NewAccessControlListClient - creates a client that is not scoped to any resource
func (*UnscopedAccessControlListClient) Get ¶
func (c *UnscopedAccessControlListClient) Get(name string) (*m.AccessControlList, error)
Get - gets a resource by name
func (*UnscopedAccessControlListClient) Update ¶
func (c *UnscopedAccessControlListClient) Update(res *m.AccessControlList, opts ...v1.UpdateOption) (*m.AccessControlList, error)
Update - updates a resource
func (*UnscopedAccessControlListClient) WithScope ¶
func (c *UnscopedAccessControlListClient) WithScope(scope string) *AccessControlListClient
WithScope - sets the resource scope for the client
type UnscopedCommandLineInterfaceClient ¶
type UnscopedCommandLineInterfaceClient struct {
// contains filtered or unexported fields
}
UnscopedCommandLineInterfaceClient - rest client for CommandLineInterface resources that do not have a defined scope
func NewCommandLineInterfaceClient ¶
func NewCommandLineInterfaceClient(c v1.Base) (*UnscopedCommandLineInterfaceClient, error)
NewCommandLineInterfaceClient - creates a client that is not scoped to any resource
func (*UnscopedCommandLineInterfaceClient) Get ¶
func (c *UnscopedCommandLineInterfaceClient) Get(name string) (*m.CommandLineInterface, error)
Get - gets a resource by name
func (*UnscopedCommandLineInterfaceClient) Update ¶
func (c *UnscopedCommandLineInterfaceClient) Update(res *m.CommandLineInterface, opts ...v1.UpdateOption) (*m.CommandLineInterface, error)
Update - updates a resource
func (*UnscopedCommandLineInterfaceClient) WithScope ¶
func (c *UnscopedCommandLineInterfaceClient) WithScope(scope string) *CommandLineInterfaceClient
WithScope - sets the resource scope for the client
type UnscopedResourceDefinitionClient ¶
type UnscopedResourceDefinitionClient struct {
// contains filtered or unexported fields
}
UnscopedResourceDefinitionClient - rest client for ResourceDefinition resources that do not have a defined scope
func NewResourceDefinitionClient ¶
func NewResourceDefinitionClient(c v1.Base) (*UnscopedResourceDefinitionClient, error)
NewResourceDefinitionClient - creates a client that is not scoped to any resource
func (*UnscopedResourceDefinitionClient) Get ¶
func (c *UnscopedResourceDefinitionClient) Get(name string) (*m.ResourceDefinition, error)
Get - gets a resource by name
func (*UnscopedResourceDefinitionClient) Update ¶
func (c *UnscopedResourceDefinitionClient) Update(res *m.ResourceDefinition, opts ...v1.UpdateOption) (*m.ResourceDefinition, error)
Update - updates a resource
func (*UnscopedResourceDefinitionClient) WithScope ¶
func (c *UnscopedResourceDefinitionClient) WithScope(scope string) *ResourceDefinitionClient
WithScope - sets the resource scope for the client
type UnscopedResourceDefinitionVersionClient ¶
type UnscopedResourceDefinitionVersionClient struct {
// contains filtered or unexported fields
}
UnscopedResourceDefinitionVersionClient - rest client for ResourceDefinitionVersion resources that do not have a defined scope
func NewResourceDefinitionVersionClient ¶
func NewResourceDefinitionVersionClient(c v1.Base) (*UnscopedResourceDefinitionVersionClient, error)
NewResourceDefinitionVersionClient - creates a client that is not scoped to any resource
func (*UnscopedResourceDefinitionVersionClient) Get ¶
func (c *UnscopedResourceDefinitionVersionClient) Get(name string) (*m.ResourceDefinitionVersion, error)
Get - gets a resource by name
func (*UnscopedResourceDefinitionVersionClient) Update ¶
func (c *UnscopedResourceDefinitionVersionClient) Update(res *m.ResourceDefinitionVersion, opts ...v1.UpdateOption) (*m.ResourceDefinitionVersion, error)
Update - updates a resource
func (*UnscopedResourceDefinitionVersionClient) WithScope ¶
func (c *UnscopedResourceDefinitionVersionClient) WithScope(scope string) *ResourceDefinitionVersionClient
WithScope - sets the resource scope for the client