Documentation ¶
Index ¶
Constants ¶
View Source
const (
LabelMachineType = "kaito.sh/machine-type"
)
View Source
const (
RPReferer = "rp.e2e.ig.e2e-aks.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZClient ¶
type AZClient struct { // 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 // contains filtered or unexported fields }
func NewAZClient ¶
func NewAZClientFromAPI ¶
func NewAZClientFromAPI( agentPoolsClient AgentPoolsAPI, skuClient skewer.ResourceClient, ) *AZClient
type AgentPoolsAPI ¶
type AgentPoolsAPI interface { BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, parameters armcontainerservice.AgentPool, options *armcontainerservice.AgentPoolsClientBeginCreateOrUpdateOptions) (*runtime.Poller[armcontainerservice.AgentPoolsClientCreateOrUpdateResponse], error) Get(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, options *armcontainerservice.AgentPoolsClientGetOptions) (armcontainerservice.AgentPoolsClientGetResponse, error) BeginDelete(ctx context.Context, resourceGroupName string, resourceName string, agentPoolName string, options *armcontainerservice.AgentPoolsClientBeginDeleteOptions) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteResponse], error) NewListPager(resourceGroupName string, resourceName string, options *armcontainerservice.AgentPoolsClientListOptions) *runtime.Pager[armcontainerservice.AgentPoolsClientListResponse] }
type Instance ¶
type Instance struct { Name *string // agentPoolName or instance/vmName State *string ID *string ImageID *string Type *string CapacityType *string SubnetID *string Tags map[string]*string Labels map[string]string }
Instance a struct to isolate weather vm or vmss
type PolicySetHeaders ¶ added in v0.2.0
PolicySetHeaders sets http header
Click to show internal directories.
Click to hide internal directories.