Documentation
¶
Index ¶
- type AKSAgentPoolsAPI
- type AKSMachinesAPI
- type AZClient
- func (c *AZClient) AKSMachinesClient() AKSMachinesAPI
- func (c *AZClient) AgentPoolsClient() AKSAgentPoolsAPI
- func (c *AZClient) AzureResourceGraphClient() AzureResourceGraphAPI
- func (c *AZClient) NetworkInterfacesClient() NetworkInterfacesAPI
- func (c *AZClient) SetAKSMachinesClient(client AKSMachinesAPI)
- func (c *AZClient) SubnetsClient() SubnetsAPI
- func (c *AZClient) VirtualMachineExtensionsClient() VirtualMachineExtensionsAPI
- func (c *AZClient) VirtualMachinesClient() VirtualMachinesAPI
- type AzureResourceGraphAPI
- type NetworkInterfacesAPI
- type SubnetsAPI
- type VirtualMachineExtensionsAPI
- type VirtualMachinesAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKSAgentPoolsAPI ¶
type AKSAgentPoolsAPI interface {
Get(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, options *armcontainerservice.AgentPoolsClientGetOptions) (armcontainerservice.AgentPoolsClientGetResponse, error)
BeginDeleteMachines(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, aksMachines armcontainerservice.AgentPoolDeleteMachinesParameter, options *armcontainerservice.AgentPoolsClientBeginDeleteMachinesOptions) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteMachinesResponse], error)
}
func NewNoAKSAgentPoolsClient ¶
func NewNoAKSAgentPoolsClient() AKSAgentPoolsAPI
NewNoAKSAgentPoolsClient creates a new dry AKS agent pools client, attempting to create real client internally
type AKSMachinesAPI ¶
type AKSMachinesAPI interface {
BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, aksMachineName string, parameters armcontainerservice.Machine, options *armcontainerservice.MachinesClientBeginCreateOrUpdateOptions) (*runtime.Poller[armcontainerservice.MachinesClientCreateOrUpdateResponse], error)
Get(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, aksMachineName string, options *armcontainerservice.MachinesClientGetOptions) (armcontainerservice.MachinesClientGetResponse, error)
NewListPager(resourceGroupName string, resourceName string, agentPoolName string, options *armcontainerservice.MachinesClientListOptions) *runtime.Pager[armcontainerservice.MachinesClientListResponse]
}
func NewNoAKSMachinesClient ¶
func NewNoAKSMachinesClient() AKSMachinesAPI
type AZClient ¶
type AZClient struct {
NodeImageVersionsClient imagefamilytypes.NodeImageVersionsAPI
ImageVersionsClient imagefamilytypes.CommunityGalleryImageVersionsAPI
NodeBootstrappingClient imagefamilytypes.NodeBootstrappingAPI
// SKU CLIENT is still using track 1 because skewer does not support the track 2 path. We need to refactor this once skewer supports track 2
SKUClient skewer.ResourceClient
LoadBalancersClient loadbalancer.LoadBalancersAPI
NetworkSecurityGroupsClient networksecuritygroup.API
SubscriptionsClient zone.SubscriptionsAPI
// contains filtered or unexported fields
}
func NewAZClient ¶
func NewAZClient(ctx context.Context, cfg *auth.Config, env *auth.Environment, cred azcore.TokenCredential) (*AZClient, error)
func NewAZClientFromAPI ¶
func NewAZClientFromAPI( virtualMachinesClient VirtualMachinesAPI, azureResourceGraphClient AzureResourceGraphAPI, aksMachinesClient AKSMachinesAPI, agentPoolsClient AKSAgentPoolsAPI, virtualMachinesExtensionClient VirtualMachineExtensionsAPI, interfacesClient NetworkInterfacesAPI, subnetsClient SubnetsAPI, loadBalancersClient loadbalancer.LoadBalancersAPI, networkSecurityGroupsClient networksecuritygroup.API, imageVersionsClient imagefamilytypes.CommunityGalleryImageVersionsAPI, nodeImageVersionsClient imagefamilytypes.NodeImageVersionsAPI, nodeBootstrappingClient imagefamilytypes.NodeBootstrappingAPI, skuClient skewer.ResourceClient, subscriptionsClient zone.SubscriptionsAPI, ) *AZClient
func (*AZClient) AKSMachinesClient ¶
func (c *AZClient) AKSMachinesClient() AKSMachinesAPI
func (*AZClient) AgentPoolsClient ¶
func (c *AZClient) AgentPoolsClient() AKSAgentPoolsAPI
func (*AZClient) AzureResourceGraphClient ¶
func (c *AZClient) AzureResourceGraphClient() AzureResourceGraphAPI
func (*AZClient) NetworkInterfacesClient ¶
func (c *AZClient) NetworkInterfacesClient() NetworkInterfacesAPI
func (*AZClient) SetAKSMachinesClient ¶
func (c *AZClient) SetAKSMachinesClient(client AKSMachinesAPI)
SetAKSMachinesClient replaces the AKS machines client. This is used to wrap the client with a batching layer when BatchCreationEnabled is true.
func (*AZClient) SubnetsClient ¶
func (c *AZClient) SubnetsClient() SubnetsAPI
func (*AZClient) VirtualMachineExtensionsClient ¶
func (c *AZClient) VirtualMachineExtensionsClient() VirtualMachineExtensionsAPI
func (*AZClient) VirtualMachinesClient ¶
func (c *AZClient) VirtualMachinesClient() VirtualMachinesAPI
type AzureResourceGraphAPI ¶
type AzureResourceGraphAPI interface {
Resources(ctx context.Context, query armresourcegraph.QueryRequest, options *armresourcegraph.ClientResourcesOptions) (armresourcegraph.ClientResourcesResponse, error)
}
type NetworkInterfacesAPI ¶
type NetworkInterfacesAPI interface {
BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters armnetwork.Interface, options *armnetwork.InterfacesClientBeginCreateOrUpdateOptions) (*runtime.Poller[armnetwork.InterfacesClientCreateOrUpdateResponse], error)
BeginDelete(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *armnetwork.InterfacesClientBeginDeleteOptions) (*runtime.Poller[armnetwork.InterfacesClientDeleteResponse], error)
Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *armnetwork.InterfacesClientGetOptions) (armnetwork.InterfacesClientGetResponse, error)
UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, tags armnetwork.TagsObject, options *armnetwork.InterfacesClientUpdateTagsOptions) (armnetwork.InterfacesClientUpdateTagsResponse, error)
}
type SubnetsAPI ¶
type SubnetsAPI interface {
Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, options *armnetwork.SubnetsClientGetOptions) (armnetwork.SubnetsClientGetResponse, error)
}
type VirtualMachineExtensionsAPI ¶
type VirtualMachineExtensionsAPI interface {
BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, vmName string, vmExtensionName string, extensionParameters armcompute.VirtualMachineExtension, options *armcompute.VirtualMachineExtensionsClientBeginCreateOrUpdateOptions) (*runtime.Poller[armcompute.VirtualMachineExtensionsClientCreateOrUpdateResponse], error)
BeginUpdate(ctx context.Context, resourceGroupName string, vmName string, vmExtensionName string, extensionParameters armcompute.VirtualMachineExtensionUpdate, options *armcompute.VirtualMachineExtensionsClientBeginUpdateOptions) (*runtime.Poller[armcompute.VirtualMachineExtensionsClientUpdateResponse], error)
}
type VirtualMachinesAPI ¶
type VirtualMachinesAPI interface {
BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, vmName string, parameters armcompute.VirtualMachine, options *armcompute.VirtualMachinesClientBeginCreateOrUpdateOptions) (*runtime.Poller[armcompute.VirtualMachinesClientCreateOrUpdateResponse], error)
Get(ctx context.Context, resourceGroupName string, vmName string, options *armcompute.VirtualMachinesClientGetOptions) (armcompute.VirtualMachinesClientGetResponse, error)
BeginUpdate(ctx context.Context, resourceGroupName string, vmName string, parameters armcompute.VirtualMachineUpdate, options *armcompute.VirtualMachinesClientBeginUpdateOptions) (*runtime.Poller[armcompute.VirtualMachinesClientUpdateResponse], error)
BeginDelete(ctx context.Context, resourceGroupName string, vmName string, options *armcompute.VirtualMachinesClientBeginDeleteOptions) (*runtime.Poller[armcompute.VirtualMachinesClientDeleteResponse], error)
}
Click to show internal directories.
Click to hide internal directories.