kubernetes

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MPL-2.0 Imports: 65 Imported by: 4

Documentation

Index

Constants

Variables

This section is empty.

Functions

func GetDeploymentCondition

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 KubeClientsets

type KubeClientsets interface {
	MainClientset() (*kubernetes.Clientset, error)
	AggregatorClientset() (*aggregator.Clientset, error)
}

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

Source Files

Jump to

Keyboard shortcuts

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