deployment

package
v5.7.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentTemplateChecksum   = "TemplateChecksum"
	DeploymentParametersChecksum = "ParametersChecksum"
)
View Source
const (
	// Name is the identifier of the resource.
	Name = "deployment"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsMissingOutputValue

func IsMissingOutputValue(err error) bool

IsMissingOutputValue asserts missingOutputValueError.

func IsNilTemplateLinkError

func IsNilTemplateLinkError(err error) bool

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsTimeoutError

func IsTimeoutError(err error) bool

IsTimeoutError asserts createTimeoutError.

func IsUnableToGetTemplateError

func IsUnableToGetTemplateError(err error) bool

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

Types

type Config

type Config struct {
	Debugger         *debugger.Debugger
	G8sClient        versioned.Interface
	InstallationName string
	Logger           micrologger.Logger

	Azure                      setting.Azure
	AzureClientSet             *client.AzureClientSet
	ClientFactory              client.OrganizationFactory
	ControlPlaneSubscriptionID string
	Debug                      setting.Debug
}

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Resource, error)

func (*Resource) EnsureCreated

func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error

func (*Resource) EnsureDeleted

func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error

EnsureDeleted is a noop since the deletion of deployments is redirected to the deletion of resource groups because they garbage collect them.

func (*Resource) Name

func (r *Resource) Name() string

Name returns the resource name.

type StorageAccountIpRule

type StorageAccountIpRule struct {
	Value  string `json:"value"`
	Action string `json:"action"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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