kubernetes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MPL-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func GetDeploymentCondition added in v1.3.0

func GetDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition

GetDeploymentConditionInternal returns the condition with the provided type. Borrowed from: https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/util/deployment_util.go#L135

func Provider

func Provider() terraform.ResourceProvider

Types

type AddOperation

type AddOperation struct {
	Path  string      `json:"path"`
	Value interface{} `json:"value"`
	Op    string      `json:"op"`
}

func (*AddOperation) GetPath

func (o *AddOperation) GetPath() string

func (*AddOperation) MarshalJSON

func (o *AddOperation) MarshalJSON() ([]byte, error)

func (*AddOperation) String

func (o *AddOperation) String() string

type PatchOperation

type PatchOperation interface {
	MarshalJSON() ([]byte, error)
	GetPath() string
}

type PatchOperations

type PatchOperations []PatchOperation

func (PatchOperations) Equal

func (po PatchOperations) Equal(ops []PatchOperation) bool

func (PatchOperations) MarshalJSON

func (po PatchOperations) MarshalJSON() ([]byte, error)

type RemoveOperation

type RemoveOperation struct {
	Path string `json:"path"`
	Op   string `json:"op"`
}

func (*RemoveOperation) GetPath

func (o *RemoveOperation) GetPath() string

func (*RemoveOperation) MarshalJSON

func (o *RemoveOperation) MarshalJSON() ([]byte, error)

func (*RemoveOperation) String

func (o *RemoveOperation) String() string

type ReplaceOperation

type ReplaceOperation struct {
	Path  string      `json:"path"`
	Value interface{} `json:"value"`
	Op    string      `json:"op"`
}

func (*ReplaceOperation) GetPath

func (o *ReplaceOperation) GetPath() string

func (*ReplaceOperation) MarshalJSON

func (o *ReplaceOperation) MarshalJSON() ([]byte, error)

func (*ReplaceOperation) String

func (o *ReplaceOperation) String() string

Jump to

Keyboard shortcuts

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