azure

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxNumberOfNodes = 3
	MaxPodsPerNode   = 250
	AgentSKU         = "Standard_DS4_v2"
)
View Source
const FlowTimeoutInMinutes = 10
View Source
const KubeConfigPerms = 0o600

Variables

View Source
var (
	ErrResourceNameTooLong = fmt.Errorf("resource name too long")
	ErrEmptyFile           = fmt.Errorf("empty file")
)

Functions

func GetStarterClusterTemplate

func GetStarterClusterTemplate(location string) armcontainerservice.ManagedCluster

Types

type CreateAzureMonitor

type CreateAzureMonitor struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
}

func (*CreateAzureMonitor) Prevalidate

func (c *CreateAzureMonitor) Prevalidate() error

func (*CreateAzureMonitor) Run

func (c *CreateAzureMonitor) Run() error

func (*CreateAzureMonitor) Stop added in v1.5.21

func (c *CreateAzureMonitor) Stop() error

type CreateBYOCiliumCluster

type CreateBYOCiliumCluster struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
	VnetName          string
	SubnetName        string
	PodCidr           string
	DNSServiceIP      string
	ServiceCidr       string
}

func (*CreateBYOCiliumCluster) Prevalidate

func (c *CreateBYOCiliumCluster) Prevalidate() error

func (*CreateBYOCiliumCluster) Run

func (c *CreateBYOCiliumCluster) Run() error

func (*CreateBYOCiliumCluster) Stop added in v1.5.21

func (c *CreateBYOCiliumCluster) Stop() error

type CreateCluster

type CreateCluster struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	ClusterName       string
}

func (*CreateCluster) Prevalidate

func (c *CreateCluster) Prevalidate() error

func (*CreateCluster) Run

func (c *CreateCluster) Run() error

func (*CreateCluster) Stop added in v1.5.21

func (c *CreateCluster) Stop() error

type CreateResourceGroup

type CreateResourceGroup struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*CreateResourceGroup) Prevalidate

func (c *CreateResourceGroup) Prevalidate() error

func (*CreateResourceGroup) Run

func (c *CreateResourceGroup) Run() error

func (*CreateResourceGroup) Stop added in v1.5.21

func (c *CreateResourceGroup) Stop() error

type CreateSubnet

type CreateSubnet struct {
	SubscriptionID     string
	ResourceGroupName  string
	Location           string
	VnetName           string
	SubnetName         string
	SubnetAddressSpace string
}

func (*CreateSubnet) Prevalidate

func (c *CreateSubnet) Prevalidate() error

func (*CreateSubnet) Run

func (c *CreateSubnet) Run() error

func (*CreateSubnet) Stop added in v1.5.21

func (c *CreateSubnet) Stop() error

type CreateVNet

type CreateVNet struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
	VnetName          string
	VnetAddressSpace  string
}

func (*CreateVNet) Prevalidate

func (c *CreateVNet) Prevalidate() error

func (*CreateVNet) Run

func (c *CreateVNet) Run() error

func (*CreateVNet) Stop added in v1.5.21

func (c *CreateVNet) Stop() error

type DeleteCluster

type DeleteCluster struct {
	ClusterName       string
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*DeleteCluster) Prevalidate

func (d *DeleteCluster) Prevalidate() error

func (*DeleteCluster) Run

func (d *DeleteCluster) Run() error

func (*DeleteCluster) Stop added in v1.5.21

func (d *DeleteCluster) Stop() error

type DeleteResourceGroup

type DeleteResourceGroup struct {
	SubscriptionID    string
	ResourceGroupName string
	Location          string
}

func (*DeleteResourceGroup) Prevalidate

func (d *DeleteResourceGroup) Prevalidate() error

func (*DeleteResourceGroup) Run

func (d *DeleteResourceGroup) Run() error

func (*DeleteResourceGroup) Stop added in v1.5.21

func (d *DeleteResourceGroup) Stop() error

type GetAKSKubeConfig

type GetAKSKubeConfig struct {
	ClusterName        string
	SubscriptionID     string
	ResourceGroupName  string
	Location           string
	KubeConfigFilePath string
}

func (*GetAKSKubeConfig) Prevalidate

func (c *GetAKSKubeConfig) Prevalidate() error

func (*GetAKSKubeConfig) Run

func (c *GetAKSKubeConfig) Run() error

func (*GetAKSKubeConfig) Stop added in v1.5.21

func (c *GetAKSKubeConfig) Stop() error

Jump to

Keyboard shortcuts

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