kubedef

package
v0.0.319 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K8sServerId           = "k8s.namespacelabs.dev/server-id"
	K8sServerPackageName  = "k8s.namespacelabs.dev/server-package-name"
	K8sServicePackageName = "k8s.namespacelabs.dev/service-package-name"
	K8sServiceGrpcType    = "k8s.namespacelabs.dev/service-grpc-type"
	K8sEnvName            = "k8s.namespacelabs.dev/env"
	K8sEnvEphemeral       = "k8s.namespacelabs.dev/env-ephemeral"
	K8sEnvPurpose         = "k8s.namespacelabs.dev/env-purpose"
	K8sEnvTimeout         = "k8s.namespacelabs.dev/env-timeout"
	K8sNamespaceDriver    = "k8s.namespacelabs.dev/namespace-driver"
	K8sConfigImage        = "k8s.namespacelabs.dev/config-image"
	K8sKind               = "k8s.namespacelabs.dev/kind"
	K8sRuntimeConfig      = "k8s.namespacelabs.dev/runtime-config"
	K8sPlannerVersion     = "k8s.namespacelabs.dev/planner-version"

	K8sStaticConfigKind  = "static-config"
	K8sRuntimeConfigKind = "runtime-config"

	AppKubernetesIoManagedBy = "app.kubernetes.io/managed-by"
	KubernetesIoArch         = "kubernetes.io/arch"

	ManagerId       = "foundation.namespace.so" // #220 Update when product name is final
	K8sFieldManager = ManagerId

	PlannerVersion = 1
)
View Source
const (
	AdminNamespace = "fn-admin"
)

Variables

View Source
var (
	Sched_JobLike = []string{
		MakeSchedCat(schema.GroupKind{Kind: "Pod"}),
		MakeSchedCat(schema.GroupKind{Group: "apps", Kind: "Deployment"}),
		MakeSchedCat(schema.GroupKind{Group: "apps", Kind: "StatefulSet"}),
	}

	Sched_ResourceLike = []string{
		MakeSchedCat(schema.GroupKind{Kind: "ConfigMap"}),
		MakeSchedCat(schema.GroupKind{Kind: "Secret"}),
		MakeSchedCat(schema.GroupKind{Kind: "PersistentVolumeClaim"}),
	}
)
View Source
var File_framework_kubernetes_kubedef_details_proto protoreflect.FileDescriptor
View Source
var File_framework_kubernetes_kubedef_extensions_proto protoreflect.FileDescriptor
View Source
var File_framework_kubernetes_kubedef_op_ingress_proto protoreflect.FileDescriptor
View Source
var File_framework_kubernetes_kubedef_op_proto protoreflect.FileDescriptor
View Source
var File_framework_kubernetes_kubedef_storage_proto protoreflect.FileDescriptor
View Source
var File_framework_kubernetes_kubedef_systeminfo_proto protoreflect.FileDescriptor

Functions

func BaseAnnotations

func BaseAnnotations() map[string]string

func DecideKind added in v0.0.164

func DecideKind(obj runtime.Deployable) func(string) runtimepb.ContainerKind

func Ego

func Ego() metav1.ApplyOptions

func MakeAnnotations

func MakeAnnotations(env *schema.Environment) map[string]string

Env may be nil.

func MakeDeploymentId

func MakeDeploymentId(srv runtime.Deployable) string

func MakeLabels

func MakeLabels(env *schema.Environment, srv runtime.Deployable) map[string]string

Env may be nil; srv may be nil.

func MakeNamespaceCat

func MakeNamespaceCat(namespace string) string

func MakeResourceName

func MakeResourceName(deploymentId string, suffix ...string) string

func MakeSchedCat

func MakeSchedCat(gv schema.GroupKind) string

func MakeServiceAnnotations

func MakeServiceAnnotations(endpoint *schema.Endpoint) (map[string]string, error)

func MakeServiceLabels

func MakeServiceLabels(env *schema.Environment, srv runtime.Deployable, endpoint *schema.Endpoint) map[string]string

func MakeServicesCat

func MakeServicesCat(deployable runtime.Deployable) string

func MakeVolumeName

func MakeVolumeName(v *schema.Volume) string

func ManagedByUs

func ManagedByUs() map[string]string

func PlanOrder

func PlanOrder(gvk schema.GroupVersionKind, namespace, name string) *fnschema.ScheduleOrder

func RuntimeConfigOutput

func RuntimeConfigOutput(deployable runtime.Deployable) string

func SelectById

func SelectById(srv runtime.Deployable) map[string]string

func SelectByPurpose

func SelectByPurpose(p schema.Environment_Purpose) map[string]string

func SelectEphemeral

func SelectEphemeral() map[string]string

func SelectNamespaceDriver

func SelectNamespaceDriver() map[string]string

func ServerCtrName

func ServerCtrName(obj runtime.Deployable) string

Types

type Apply

type Apply struct {
	Description  string
	SetNamespace bool
	Resource     any
	// An alternative to `Resource`, a serialized version of the resource, in json.
	SerializedResource string

	InhibitEvents bool

	SchedCategory      []string
	SchedAfterCategory []string

	// If set, we wait until a status.conditions entry of matching type exists,
	// that matches the resource's generation.
	CheckGenerationCondition *CheckGenerationCondition

	Creator *schema.PackageRef
}

func (Apply) AppliedResource

func (a Apply) AppliedResource() any

func (Apply) ToDefinition

func (a Apply) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

func (Apply) ToDefinitionImpl

func (a Apply) ToDefinitionImpl(scope ...schema.PackageName) (*schema.SerializedInvocation, *OpApply, error)

type ApplyRoleBinding

type ApplyRoleBinding struct {
	DescriptionBase string
	Namespaced      bool
	RoleName        string
	RoleBindingName string
	Labels          map[string]string
	Annotations     map[string]string
	Rules           []*rbacv1.PolicyRuleApplyConfiguration
	ServiceAccount  string
}

func (ApplyRoleBinding) ToDefinition

func (ar ApplyRoleBinding) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

type BackendProtocol added in v0.0.124

type BackendProtocol string
const (
	BackendProtocol_HTTP  BackendProtocol = "http"
	BackendProtocol_GRPC  BackendProtocol = "grpc"
	BackendProtocol_GRPCS BackendProtocol = "grpcs"
)

type CheckGenerationCondition

type CheckGenerationCondition struct {
	Type string
}

type ContainerExtension

type ContainerExtension struct {
	VolumeMount []*ContainerExtension_VolumeMount `protobuf:"bytes,1,rep,name=volume_mount,json=volumeMount,proto3" json:"volume_mount,omitempty"`
	Env         []*schema.BinaryConfig_EnvEntry   `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
	Args        []string                          `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	// Deprecated, use `args`.
	ArgTuple []*ContainerExtension_ArgTuple `protobuf:"bytes,4,rep,name=arg_tuple,json=argTuple,proto3" json:"arg_tuple,omitempty"`
	// Deprecated, use `InitContainerExtension`.
	InitContainer []*ContainerExtension_InitContainer `protobuf:"bytes,3,rep,name=init_container,json=initContainer,proto3" json:"init_container,omitempty"`
	Probe         []*schema.Probe                     `protobuf:"bytes,7,rep,name=probe,proto3" json:"probe,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 8

func (*ContainerExtension) Descriptor deprecated

func (*ContainerExtension) Descriptor() ([]byte, []int)

Deprecated: Use ContainerExtension.ProtoReflect.Descriptor instead.

func (*ContainerExtension) GetArgTuple

func (x *ContainerExtension) GetArgTuple() []*ContainerExtension_ArgTuple

func (*ContainerExtension) GetArgs

func (x *ContainerExtension) GetArgs() []string

func (*ContainerExtension) GetEnv

func (*ContainerExtension) GetInitContainer

func (x *ContainerExtension) GetInitContainer() []*ContainerExtension_InitContainer

func (*ContainerExtension) GetProbe

func (x *ContainerExtension) GetProbe() []*schema.Probe

func (*ContainerExtension) GetVolumeMount

func (x *ContainerExtension) GetVolumeMount() []*ContainerExtension_VolumeMount

func (*ContainerExtension) ProtoMessage

func (*ContainerExtension) ProtoMessage()

func (*ContainerExtension) ProtoReflect

func (x *ContainerExtension) ProtoReflect() protoreflect.Message

func (*ContainerExtension) Reset

func (x *ContainerExtension) Reset()

func (*ContainerExtension) String

func (x *ContainerExtension) String() string

type ContainerExtension_ArgTuple

type ContainerExtension_ArgTuple struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerExtension_ArgTuple) Descriptor deprecated

func (*ContainerExtension_ArgTuple) Descriptor() ([]byte, []int)

Deprecated: Use ContainerExtension_ArgTuple.ProtoReflect.Descriptor instead.

func (*ContainerExtension_ArgTuple) GetName

func (x *ContainerExtension_ArgTuple) GetName() string

func (*ContainerExtension_ArgTuple) GetValue

func (x *ContainerExtension_ArgTuple) GetValue() string

func (*ContainerExtension_ArgTuple) ProtoMessage

func (*ContainerExtension_ArgTuple) ProtoMessage()

func (*ContainerExtension_ArgTuple) ProtoReflect

func (*ContainerExtension_ArgTuple) Reset

func (x *ContainerExtension_ArgTuple) Reset()

func (*ContainerExtension_ArgTuple) String

func (x *ContainerExtension_ArgTuple) String() string

type ContainerExtension_Env

type ContainerExtension_Env struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerExtension_Env) Descriptor deprecated

func (*ContainerExtension_Env) Descriptor() ([]byte, []int)

Deprecated: Use ContainerExtension_Env.ProtoReflect.Descriptor instead.

func (*ContainerExtension_Env) GetName

func (x *ContainerExtension_Env) GetName() string

func (*ContainerExtension_Env) GetValue

func (x *ContainerExtension_Env) GetValue() string

func (*ContainerExtension_Env) ProtoMessage

func (*ContainerExtension_Env) ProtoMessage()

func (*ContainerExtension_Env) ProtoReflect

func (x *ContainerExtension_Env) ProtoReflect() protoreflect.Message

func (*ContainerExtension_Env) Reset

func (x *ContainerExtension_Env) Reset()

func (*ContainerExtension_Env) String

func (x *ContainerExtension_Env) String() string

type ContainerExtension_InitContainer

type ContainerExtension_InitContainer struct {
	PackageName string   `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Arg         []string `protobuf:"bytes,2,rep,name=arg,proto3" json:"arg,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerExtension_InitContainer) Descriptor deprecated

func (*ContainerExtension_InitContainer) Descriptor() ([]byte, []int)

Deprecated: Use ContainerExtension_InitContainer.ProtoReflect.Descriptor instead.

func (*ContainerExtension_InitContainer) GetArg

func (*ContainerExtension_InitContainer) GetPackageName

func (x *ContainerExtension_InitContainer) GetPackageName() string

func (*ContainerExtension_InitContainer) ProtoMessage

func (*ContainerExtension_InitContainer) ProtoMessage()

func (*ContainerExtension_InitContainer) ProtoReflect

func (*ContainerExtension_InitContainer) Reset

func (*ContainerExtension_InitContainer) String

type ContainerExtension_VolumeMount

type ContainerExtension_VolumeMount struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadOnly    bool   `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	MountPath   string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	MountOnInit bool   `protobuf:"varint,4,opt,name=mount_on_init,json=mountOnInit,proto3" json:"mount_on_init,omitempty"` // Whether to mount this volume also for init containers.
	// contains filtered or unexported fields
}

func (*ContainerExtension_VolumeMount) Descriptor deprecated

func (*ContainerExtension_VolumeMount) Descriptor() ([]byte, []int)

Deprecated: Use ContainerExtension_VolumeMount.ProtoReflect.Descriptor instead.

func (*ContainerExtension_VolumeMount) GetMountOnInit

func (x *ContainerExtension_VolumeMount) GetMountOnInit() bool

func (*ContainerExtension_VolumeMount) GetMountPath

func (x *ContainerExtension_VolumeMount) GetMountPath() string

func (*ContainerExtension_VolumeMount) GetName

func (*ContainerExtension_VolumeMount) GetReadOnly

func (x *ContainerExtension_VolumeMount) GetReadOnly() bool

func (*ContainerExtension_VolumeMount) ProtoMessage

func (*ContainerExtension_VolumeMount) ProtoMessage()

func (*ContainerExtension_VolumeMount) ProtoReflect

func (*ContainerExtension_VolumeMount) Reset

func (x *ContainerExtension_VolumeMount) Reset()

func (*ContainerExtension_VolumeMount) String

type Create

type Create struct {
	Description         string
	SkipIfAlreadyExists bool
	UpdateIfExisting    bool
	SetNamespace        bool
	Resource            string
	Body                any
}

func (Create) AppliedResource

func (c Create) AppliedResource() any

func (Create) ToDefinition

func (c Create) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

type Delete

type Delete struct {
	Description  string
	Resource     string
	SetNamespace bool
	Namespace    string
	Name         string
}

func (Delete) ToDefinition

func (d Delete) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

type DeleteList

type DeleteList struct {
	Description  string
	Resource     string
	SetNamespace bool
	Namespace    string
	Selector     map[string]string
}

func (DeleteList) ToDefinition

func (d DeleteList) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

type EnsureDeployment

type EnsureDeployment struct {
	Description             string
	Deployable              runtime.Deployable
	Resource                any
	ConfigurationVolumeName string
	SetContainerFields      []*runtimepb.SetContainerField

	RuntimeConfigDependency string

	InhibitEvents bool

	SchedCategory []string
}

func (EnsureDeployment) AppliedResource

func (a EnsureDeployment) AppliedResource() any

func (EnsureDeployment) ToDefinition

func (a EnsureDeployment) ToDefinition(scope ...schema.PackageName) (*schema.SerializedInvocation, error)

type EnsureRuntimeConfig

type EnsureRuntimeConfig struct {
	Description          string
	RuntimeConfig        *runtimepb.RuntimeConfig
	Deployable           runtime.Deployable
	ResourceDependencies []*resources.ResourceDependency
	InjectedResources    []*OpEnsureRuntimeConfig_InjectedResource
	BuildVCS             *runtimepb.BuildVCS
	PersistConfiguration bool
}

func (EnsureRuntimeConfig) AppliedResource

func (a EnsureRuntimeConfig) AppliedResource() any

func (EnsureRuntimeConfig) ToDefinition

type EnsureRuntimeConfigOutput

type EnsureRuntimeConfigOutput struct {
	ConfigId               string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	SerializedRuntimeJson  string `` /* 126-byte string literal not displayed */
	SerializedResourceJson string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnsureRuntimeConfigOutput) Descriptor deprecated

func (*EnsureRuntimeConfigOutput) Descriptor() ([]byte, []int)

Deprecated: Use EnsureRuntimeConfigOutput.ProtoReflect.Descriptor instead.

func (*EnsureRuntimeConfigOutput) GetConfigId

func (x *EnsureRuntimeConfigOutput) GetConfigId() string

func (*EnsureRuntimeConfigOutput) GetSerializedResourceJson

func (x *EnsureRuntimeConfigOutput) GetSerializedResourceJson() string

func (*EnsureRuntimeConfigOutput) GetSerializedRuntimeJson

func (x *EnsureRuntimeConfigOutput) GetSerializedRuntimeJson() string

func (*EnsureRuntimeConfigOutput) ProtoMessage

func (*EnsureRuntimeConfigOutput) ProtoMessage()

func (*EnsureRuntimeConfigOutput) ProtoReflect

func (*EnsureRuntimeConfigOutput) Reset

func (x *EnsureRuntimeConfigOutput) Reset()

func (*EnsureRuntimeConfigOutput) String

func (x *EnsureRuntimeConfigOutput) String() string

type ExtendContainer

type ExtendContainer struct {
	With *ContainerExtension
}

func (ExtendContainer) ToDefinition

func (ec ExtendContainer) ToDefinition() (*schema.DefExtension, error)

type ExtendInitContainer

type ExtendInitContainer struct {
	With *InitContainerExtension
}

func (ExtendInitContainer) ToDefinition

func (ec ExtendInitContainer) ToDefinition() (*schema.DefExtension, error)

type ExtendSpec

type ExtendSpec struct {
	With *SpecExtension
}

func (ExtendSpec) ToDefinition

func (es ExtendSpec) ToDefinition() (*schema.DefExtension, error)

type IngressAllocatedRoute added in v0.0.142

type IngressAllocatedRoute struct {
	Certificates map[string]IngressCertificate
	Map          []*OpMapAddress
}

type IngressAnnotations added in v0.0.124

type IngressAnnotations struct {
	Annotations map[string]string
	Resources   []defs.MakeDefinition

	// If set, make sure that the ingress resource is created after the specified categories.
	SchedAfter []string
}

type IngressCertificate added in v0.0.142

type IngressCertificate struct {
	SecretName string
	Defs       []defs.MakeDefinition
}

type IngressClass added in v0.0.113

type IngressClass interface {
	runtime.IngressClass

	Ensure(context.Context) ([]*schema.SerializedInvocation, error)
	Service() *IngressSelector
	PrepareRoute(ctx context.Context, env *schema.Environment, srv *schema.Stack_Entry, domain *schema.Domain, ns, name string) (*IngressAllocatedRoute, error)
	Annotate(ns, name string, domains []*schema.Domain, hasTLS bool, backendProtocol BackendProtocol, extensions []*anypb.Any, userAnnotation *schema.ServiceAnnotations) (*IngressAnnotations, error)
}

type IngressSelector added in v0.0.113

type IngressSelector struct {
	InClusterController     kubeobj.Object // May be nil.
	LoadBalancerServiceName string         // In the same namespace.

	ContainerPort int
	PodSelector   map[string]string
}

type InitContainerExtension

type InitContainerExtension struct {

	// Deprecated, use package_ref.
	PackageName string             `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	PackageRef  *schema.PackageRef `protobuf:"bytes,3,opt,name=package_ref,json=packageRef,proto3" json:"package_ref,omitempty"`
	Args        []string           `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*InitContainerExtension) Descriptor deprecated

func (*InitContainerExtension) Descriptor() ([]byte, []int)

Deprecated: Use InitContainerExtension.ProtoReflect.Descriptor instead.

func (*InitContainerExtension) GetArgs

func (x *InitContainerExtension) GetArgs() []string

func (*InitContainerExtension) GetPackageName

func (x *InitContainerExtension) GetPackageName() string

func (*InitContainerExtension) GetPackageRef

func (x *InitContainerExtension) GetPackageRef() *schema.PackageRef

func (*InitContainerExtension) ProtoMessage

func (*InitContainerExtension) ProtoMessage()

func (*InitContainerExtension) ProtoReflect

func (x *InitContainerExtension) ProtoReflect() protoreflect.Message

func (*InitContainerExtension) Reset

func (x *InitContainerExtension) Reset()

func (*InitContainerExtension) String

func (x *InitContainerExtension) String() string

type KubeCluster

type KubeCluster interface {
	runtime.Cluster

	PreparedClient() client.Prepared
}

func InjectedKubeCluster

func InjectedKubeCluster(ctx context.Context) (KubeCluster, error)

type KubeClusterNamespace

type KubeClusterNamespace interface {
	runtime.ClusterNamespace

	KubeConfig() KubeConfig
}

func InjectedKubeClusterNamespace

func InjectedKubeClusterNamespace(ctx context.Context) (KubeClusterNamespace, error)

type KubeConfig

type KubeConfig struct {
	Context     string // Only set if explicitly set in KubeEnv.
	Namespace   string
	Environment *schema.Environment
}

type KubernetesEnvDiagnostics

type KubernetesEnvDiagnostics struct {
	SystemInfo          *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
	SerializedEventList string      `protobuf:"bytes,2,opt,name=serialized_event_list,json=serializedEventList,proto3" json:"serialized_event_list,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesEnvDiagnostics) Descriptor deprecated

func (*KubernetesEnvDiagnostics) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesEnvDiagnostics.ProtoReflect.Descriptor instead.

func (*KubernetesEnvDiagnostics) GetSerializedEventList

func (x *KubernetesEnvDiagnostics) GetSerializedEventList() string

func (*KubernetesEnvDiagnostics) GetSystemInfo

func (x *KubernetesEnvDiagnostics) GetSystemInfo() *SystemInfo

func (*KubernetesEnvDiagnostics) ProtoMessage

func (*KubernetesEnvDiagnostics) ProtoMessage()

func (*KubernetesEnvDiagnostics) ProtoReflect

func (x *KubernetesEnvDiagnostics) ProtoReflect() protoreflect.Message

func (*KubernetesEnvDiagnostics) Reset

func (x *KubernetesEnvDiagnostics) Reset()

func (*KubernetesEnvDiagnostics) String

func (x *KubernetesEnvDiagnostics) String() string

type NodeDistribution

type NodeDistribution struct {
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	Count    int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeDistribution) Descriptor deprecated

func (*NodeDistribution) Descriptor() ([]byte, []int)

Deprecated: Use NodeDistribution.ProtoReflect.Descriptor instead.

func (*NodeDistribution) GetCount

func (x *NodeDistribution) GetCount() int32

func (*NodeDistribution) GetLocation

func (x *NodeDistribution) GetLocation() string

func (*NodeDistribution) ProtoMessage

func (*NodeDistribution) ProtoMessage()

func (*NodeDistribution) ProtoReflect

func (x *NodeDistribution) ProtoReflect() protoreflect.Message

func (*NodeDistribution) Reset

func (x *NodeDistribution) Reset()

func (*NodeDistribution) String

func (x *NodeDistribution) String() string

type OpApply

type OpApply struct {

	// The serialized resource that is being applied.
	BodyJson string `protobuf:"bytes,4,opt,name=body_json,json=bodyJson,proto3" json:"body_json,omitempty"`
	// If true, sets the namespace of the resource to that of the deployment's scope.
	// The namespace must not be set in the serialized resource above.
	SetNamespace bool `protobuf:"varint,8,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	// If true, creates resources without emitting user-visible events.
	InhibitEvents bool `protobuf:"varint,9,opt,name=inhibit_events,json=inhibitEvents,proto3" json:"inhibit_events,omitempty"`
	// If this apply is done in the scope of a planned deployment, deployable will be set.
	Deployable *runtime.Deployable `protobuf:"bytes,10,opt,name=deployable,proto3" json:"deployable,omitempty"`
	// If set, specifies which package yielded this apply. Used for presentation purposes.
	Creator                  *schema.PackageRef                `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"`
	CheckGenerationCondition *OpApply_CheckGenerationCondition `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OpApply) Descriptor deprecated

func (*OpApply) Descriptor() ([]byte, []int)

Deprecated: Use OpApply.ProtoReflect.Descriptor instead.

func (*OpApply) GetBodyJson

func (x *OpApply) GetBodyJson() string

func (*OpApply) GetCheckGenerationCondition

func (x *OpApply) GetCheckGenerationCondition() *OpApply_CheckGenerationCondition

func (*OpApply) GetCreator added in v0.0.145

func (x *OpApply) GetCreator() *schema.PackageRef

func (*OpApply) GetDeployable

func (x *OpApply) GetDeployable() *runtime.Deployable

func (*OpApply) GetInhibitEvents

func (x *OpApply) GetInhibitEvents() bool

func (*OpApply) GetSetNamespace

func (x *OpApply) GetSetNamespace() bool

func (*OpApply) ProtoMessage

func (*OpApply) ProtoMessage()

func (*OpApply) ProtoReflect

func (x *OpApply) ProtoReflect() protoreflect.Message

func (*OpApply) Reset

func (x *OpApply) Reset()

func (*OpApply) String

func (x *OpApply) String() string

type OpApplyRoleBinding

type OpApplyRoleBinding struct {
	Namespaced      bool                           `protobuf:"varint,1,opt,name=namespaced,proto3" json:"namespaced,omitempty"`
	RoleName        string                         `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	RoleBindingName string                         `protobuf:"bytes,3,opt,name=role_binding_name,json=roleBindingName,proto3" json:"role_binding_name,omitempty"`
	Label           []*OpApplyRoleBinding_KeyValue `protobuf:"bytes,4,rep,name=label,proto3" json:"label,omitempty"`
	Annotation      []*OpApplyRoleBinding_KeyValue `protobuf:"bytes,5,rep,name=annotation,proto3" json:"annotation,omitempty"`
	RulesJson       string                         `protobuf:"bytes,6,opt,name=rules_json,json=rulesJson,proto3" json:"rules_json,omitempty"`
	ServiceAccount  string                         `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

func (*OpApplyRoleBinding) Descriptor deprecated

func (*OpApplyRoleBinding) Descriptor() ([]byte, []int)

Deprecated: Use OpApplyRoleBinding.ProtoReflect.Descriptor instead.

func (*OpApplyRoleBinding) GetAnnotation

func (x *OpApplyRoleBinding) GetAnnotation() []*OpApplyRoleBinding_KeyValue

func (*OpApplyRoleBinding) GetLabel

func (*OpApplyRoleBinding) GetNamespaced

func (x *OpApplyRoleBinding) GetNamespaced() bool

func (*OpApplyRoleBinding) GetRoleBindingName

func (x *OpApplyRoleBinding) GetRoleBindingName() string

func (*OpApplyRoleBinding) GetRoleName

func (x *OpApplyRoleBinding) GetRoleName() string

func (*OpApplyRoleBinding) GetRulesJson

func (x *OpApplyRoleBinding) GetRulesJson() string

func (*OpApplyRoleBinding) GetServiceAccount

func (x *OpApplyRoleBinding) GetServiceAccount() string

func (*OpApplyRoleBinding) ProtoMessage

func (*OpApplyRoleBinding) ProtoMessage()

func (*OpApplyRoleBinding) ProtoReflect

func (x *OpApplyRoleBinding) ProtoReflect() protoreflect.Message

func (*OpApplyRoleBinding) Reset

func (x *OpApplyRoleBinding) Reset()

func (*OpApplyRoleBinding) String

func (x *OpApplyRoleBinding) String() string

type OpApplyRoleBinding_KeyValue

type OpApplyRoleBinding_KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*OpApplyRoleBinding_KeyValue) Descriptor deprecated

func (*OpApplyRoleBinding_KeyValue) Descriptor() ([]byte, []int)

Deprecated: Use OpApplyRoleBinding_KeyValue.ProtoReflect.Descriptor instead.

func (*OpApplyRoleBinding_KeyValue) GetKey

func (x *OpApplyRoleBinding_KeyValue) GetKey() string

func (*OpApplyRoleBinding_KeyValue) GetValue

func (x *OpApplyRoleBinding_KeyValue) GetValue() string

func (*OpApplyRoleBinding_KeyValue) ProtoMessage

func (*OpApplyRoleBinding_KeyValue) ProtoMessage()

func (*OpApplyRoleBinding_KeyValue) ProtoReflect

func (*OpApplyRoleBinding_KeyValue) Reset

func (x *OpApplyRoleBinding_KeyValue) Reset()

func (*OpApplyRoleBinding_KeyValue) String

func (x *OpApplyRoleBinding_KeyValue) String() string

type OpApply_CheckGenerationCondition

type OpApply_CheckGenerationCondition struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*OpApply_CheckGenerationCondition) Descriptor deprecated

func (*OpApply_CheckGenerationCondition) Descriptor() ([]byte, []int)

Deprecated: Use OpApply_CheckGenerationCondition.ProtoReflect.Descriptor instead.

func (*OpApply_CheckGenerationCondition) GetType

func (*OpApply_CheckGenerationCondition) ProtoMessage

func (*OpApply_CheckGenerationCondition) ProtoMessage()

func (*OpApply_CheckGenerationCondition) ProtoReflect

func (*OpApply_CheckGenerationCondition) Reset

func (*OpApply_CheckGenerationCondition) String

type OpCleanupMigration added in v0.0.113

type OpCleanupMigration struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*OpCleanupMigration) Descriptor deprecated added in v0.0.113

func (*OpCleanupMigration) Descriptor() ([]byte, []int)

Deprecated: Use OpCleanupMigration.ProtoReflect.Descriptor instead.

func (*OpCleanupMigration) GetNamespace added in v0.0.113

func (x *OpCleanupMigration) GetNamespace() string

func (*OpCleanupMigration) ProtoMessage added in v0.0.113

func (*OpCleanupMigration) ProtoMessage()

func (*OpCleanupMigration) ProtoReflect added in v0.0.113

func (x *OpCleanupMigration) ProtoReflect() protoreflect.Message

func (*OpCleanupMigration) Reset added in v0.0.113

func (x *OpCleanupMigration) Reset()

func (*OpCleanupMigration) String added in v0.0.113

func (x *OpCleanupMigration) String() string

type OpCleanupRuntimeConfig

type OpCleanupRuntimeConfig struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CheckPods bool   `protobuf:"varint,2,opt,name=check_pods,json=checkPods,proto3" json:"check_pods,omitempty"` // Set in tests.
	// contains filtered or unexported fields
}

func (*OpCleanupRuntimeConfig) Descriptor deprecated

func (*OpCleanupRuntimeConfig) Descriptor() ([]byte, []int)

Deprecated: Use OpCleanupRuntimeConfig.ProtoReflect.Descriptor instead.

func (*OpCleanupRuntimeConfig) GetCheckPods

func (x *OpCleanupRuntimeConfig) GetCheckPods() bool

func (*OpCleanupRuntimeConfig) GetNamespace

func (x *OpCleanupRuntimeConfig) GetNamespace() string

func (*OpCleanupRuntimeConfig) ProtoMessage

func (*OpCleanupRuntimeConfig) ProtoMessage()

func (*OpCleanupRuntimeConfig) ProtoReflect

func (x *OpCleanupRuntimeConfig) ProtoReflect() protoreflect.Message

func (*OpCleanupRuntimeConfig) Reset

func (x *OpCleanupRuntimeConfig) Reset()

func (*OpCleanupRuntimeConfig) String

func (x *OpCleanupRuntimeConfig) String() string

type OpCreate

type OpCreate struct {
	Resource            string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // XXX deprecated.
	SetNamespace        bool   `protobuf:"varint,8,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	SkipIfAlreadyExists bool   `protobuf:"varint,2,opt,name=skip_if_already_exists,json=skipIfAlreadyExists,proto3" json:"skip_if_already_exists,omitempty"`
	UpdateIfExisting    bool   `protobuf:"varint,6,opt,name=update_if_existing,json=updateIfExisting,proto3" json:"update_if_existing,omitempty"`
	BodyJson            string `protobuf:"bytes,5,opt,name=body_json,json=bodyJson,proto3" json:"body_json,omitempty"`
	// contains filtered or unexported fields
}

func (*OpCreate) Descriptor deprecated

func (*OpCreate) Descriptor() ([]byte, []int)

Deprecated: Use OpCreate.ProtoReflect.Descriptor instead.

func (*OpCreate) GetBodyJson

func (x *OpCreate) GetBodyJson() string

func (*OpCreate) GetResource

func (x *OpCreate) GetResource() string

func (*OpCreate) GetSetNamespace

func (x *OpCreate) GetSetNamespace() bool

func (*OpCreate) GetSkipIfAlreadyExists

func (x *OpCreate) GetSkipIfAlreadyExists() bool

func (*OpCreate) GetUpdateIfExisting

func (x *OpCreate) GetUpdateIfExisting() bool

func (*OpCreate) ProtoMessage

func (*OpCreate) ProtoMessage()

func (*OpCreate) ProtoReflect

func (x *OpCreate) ProtoReflect() protoreflect.Message

func (*OpCreate) Reset

func (x *OpCreate) Reset()

func (*OpCreate) String

func (x *OpCreate) String() string

type OpCreateSecretConditionally

type OpCreateSecretConditionally struct {
	Namespace             string                    `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SetNamespace          bool                      `protobuf:"varint,6,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	Name                  string                    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	UserSpecifiedName     string                    `protobuf:"bytes,3,opt,name=user_specified_name,json=userSpecifiedName,proto3" json:"user_specified_name,omitempty"`
	SelfSignedCertificate *types.TLSCertificateSpec `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

This is a temporary type; usage should be limited. It's a workaround until we can compose invocations, so secrets can wrap a "create secret payload" invocation around the user-provided invocation. The value is passed along-side the SerializedInvocation, with key "value".

func (*OpCreateSecretConditionally) Descriptor deprecated

func (*OpCreateSecretConditionally) Descriptor() ([]byte, []int)

Deprecated: Use OpCreateSecretConditionally.ProtoReflect.Descriptor instead.

func (*OpCreateSecretConditionally) GetName

func (x *OpCreateSecretConditionally) GetName() string

func (*OpCreateSecretConditionally) GetNamespace

func (x *OpCreateSecretConditionally) GetNamespace() string

func (*OpCreateSecretConditionally) GetSelfSignedCertificate

func (x *OpCreateSecretConditionally) GetSelfSignedCertificate() *types.TLSCertificateSpec

func (*OpCreateSecretConditionally) GetSetNamespace

func (x *OpCreateSecretConditionally) GetSetNamespace() bool

func (*OpCreateSecretConditionally) GetUserSpecifiedName

func (x *OpCreateSecretConditionally) GetUserSpecifiedName() string

func (*OpCreateSecretConditionally) ProtoMessage

func (*OpCreateSecretConditionally) ProtoMessage()

func (*OpCreateSecretConditionally) ProtoReflect

func (*OpCreateSecretConditionally) Reset

func (x *OpCreateSecretConditionally) Reset()

func (*OpCreateSecretConditionally) String

func (x *OpCreateSecretConditionally) String() string

type OpDelete

type OpDelete struct {
	Resource     string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Namespace    string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SetNamespace bool   `protobuf:"varint,5,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	Name         string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*OpDelete) Descriptor deprecated

func (*OpDelete) Descriptor() ([]byte, []int)

Deprecated: Use OpDelete.ProtoReflect.Descriptor instead.

func (*OpDelete) GetName

func (x *OpDelete) GetName() string

func (*OpDelete) GetNamespace

func (x *OpDelete) GetNamespace() string

func (*OpDelete) GetResource

func (x *OpDelete) GetResource() string

func (*OpDelete) GetSetNamespace

func (x *OpDelete) GetSetNamespace() bool

func (*OpDelete) ProtoMessage

func (*OpDelete) ProtoMessage()

func (*OpDelete) ProtoReflect

func (x *OpDelete) ProtoReflect() protoreflect.Message

func (*OpDelete) Reset

func (x *OpDelete) Reset()

func (*OpDelete) String

func (x *OpDelete) String() string

type OpDeleteList

type OpDeleteList struct {
	Resource      string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Namespace     string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SetNamespace  bool   `protobuf:"varint,5,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	LabelSelector string `protobuf:"bytes,3,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*OpDeleteList) Descriptor deprecated

func (*OpDeleteList) Descriptor() ([]byte, []int)

Deprecated: Use OpDeleteList.ProtoReflect.Descriptor instead.

func (*OpDeleteList) GetLabelSelector

func (x *OpDeleteList) GetLabelSelector() string

func (*OpDeleteList) GetNamespace

func (x *OpDeleteList) GetNamespace() string

func (*OpDeleteList) GetResource

func (x *OpDeleteList) GetResource() string

func (*OpDeleteList) GetSetNamespace

func (x *OpDeleteList) GetSetNamespace() bool

func (*OpDeleteList) ProtoMessage

func (*OpDeleteList) ProtoMessage()

func (*OpDeleteList) ProtoReflect

func (x *OpDeleteList) ProtoReflect() protoreflect.Message

func (*OpDeleteList) Reset

func (x *OpDeleteList) Reset()

func (*OpDeleteList) String

func (x *OpDeleteList) String() string

type OpEnsureDeployment

type OpEnsureDeployment struct {
	Deployable              *runtime.Deployable          `protobuf:"bytes,1,opt,name=deployable,proto3" json:"deployable,omitempty"`
	SerializedResource      string                       `protobuf:"bytes,2,opt,name=serialized_resource,json=serializedResource,proto3" json:"serialized_resource,omitempty"`
	SetNamespace            bool                         `protobuf:"varint,3,opt,name=set_namespace,json=setNamespace,proto3" json:"set_namespace,omitempty"`
	InhibitEvents           bool                         `protobuf:"varint,4,opt,name=inhibit_events,json=inhibitEvents,proto3" json:"inhibit_events,omitempty"`
	ConfigurationVolumeName string                       `` /* 132-byte string literal not displayed */
	SetContainerField       []*runtime.SetContainerField `protobuf:"bytes,6,rep,name=set_container_field,json=setContainerField,proto3" json:"set_container_field,omitempty"`
	// contains filtered or unexported fields
}

func (*OpEnsureDeployment) Descriptor deprecated

func (*OpEnsureDeployment) Descriptor() ([]byte, []int)

Deprecated: Use OpEnsureDeployment.ProtoReflect.Descriptor instead.

func (*OpEnsureDeployment) GetConfigurationVolumeName

func (x *OpEnsureDeployment) GetConfigurationVolumeName() string

func (*OpEnsureDeployment) GetDeployable

func (x *OpEnsureDeployment) GetDeployable() *runtime.Deployable

func (*OpEnsureDeployment) GetInhibitEvents

func (x *OpEnsureDeployment) GetInhibitEvents() bool

func (*OpEnsureDeployment) GetSerializedResource

func (x *OpEnsureDeployment) GetSerializedResource() string

func (*OpEnsureDeployment) GetSetContainerField

func (x *OpEnsureDeployment) GetSetContainerField() []*runtime.SetContainerField

func (*OpEnsureDeployment) GetSetNamespace

func (x *OpEnsureDeployment) GetSetNamespace() bool

func (*OpEnsureDeployment) ProtoMessage

func (*OpEnsureDeployment) ProtoMessage()

func (*OpEnsureDeployment) ProtoReflect

func (x *OpEnsureDeployment) ProtoReflect() protoreflect.Message

func (*OpEnsureDeployment) Reset

func (x *OpEnsureDeployment) Reset()

func (*OpEnsureDeployment) String

func (x *OpEnsureDeployment) String() string

type OpEnsureIngressController added in v0.0.124

type OpEnsureIngressController struct {
	IngressClass string `protobuf:"bytes,1,opt,name=ingress_class,json=ingressClass,proto3" json:"ingress_class,omitempty"`
	// contains filtered or unexported fields
}

func (*OpEnsureIngressController) Descriptor deprecated added in v0.0.124

func (*OpEnsureIngressController) Descriptor() ([]byte, []int)

Deprecated: Use OpEnsureIngressController.ProtoReflect.Descriptor instead.

func (*OpEnsureIngressController) GetIngressClass added in v0.0.143

func (x *OpEnsureIngressController) GetIngressClass() string

func (*OpEnsureIngressController) ProtoMessage added in v0.0.124

func (*OpEnsureIngressController) ProtoMessage()

func (*OpEnsureIngressController) ProtoReflect added in v0.0.124

func (*OpEnsureIngressController) Reset added in v0.0.124

func (x *OpEnsureIngressController) Reset()

func (*OpEnsureIngressController) String added in v0.0.124

func (x *OpEnsureIngressController) String() string

type OpEnsureRuntimeConfig

type OpEnsureRuntimeConfig struct {
	Deployable           *runtime.Deployable                       `protobuf:"bytes,1,opt,name=deployable,proto3" json:"deployable,omitempty"`
	RuntimeConfig        *runtime.RuntimeConfig                    `protobuf:"bytes,2,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	ResourceInstanceId   []string                                  `protobuf:"bytes,3,rep,name=resource_instance_id,json=resourceInstanceId,proto3" json:"resource_instance_id,omitempty"` // XXX deprecated, use dependency.
	Dependency           []*resources.ResourceDependency           `protobuf:"bytes,4,rep,name=dependency,proto3" json:"dependency,omitempty"`
	PersistConfiguration bool                                      `protobuf:"varint,5,opt,name=persist_configuration,json=persistConfiguration,proto3" json:"persist_configuration,omitempty"`
	InjectResource       []*OpEnsureRuntimeConfig_InjectedResource `protobuf:"bytes,6,rep,name=inject_resource,json=injectResource,proto3" json:"inject_resource,omitempty"`
	BuildVcs             *runtime.BuildVCS                         `protobuf:"bytes,7,opt,name=build_vcs,json=buildVcs,proto3" json:"build_vcs,omitempty"`
	// contains filtered or unexported fields
}

func (*OpEnsureRuntimeConfig) Descriptor deprecated

func (*OpEnsureRuntimeConfig) Descriptor() ([]byte, []int)

Deprecated: Use OpEnsureRuntimeConfig.ProtoReflect.Descriptor instead.

func (*OpEnsureRuntimeConfig) GetBuildVcs

func (x *OpEnsureRuntimeConfig) GetBuildVcs() *runtime.BuildVCS

func (*OpEnsureRuntimeConfig) GetDependency

func (x *OpEnsureRuntimeConfig) GetDependency() []*resources.ResourceDependency

func (*OpEnsureRuntimeConfig) GetDeployable

func (x *OpEnsureRuntimeConfig) GetDeployable() *runtime.Deployable

func (*OpEnsureRuntimeConfig) GetInjectResource

func (*OpEnsureRuntimeConfig) GetPersistConfiguration

func (x *OpEnsureRuntimeConfig) GetPersistConfiguration() bool

func (*OpEnsureRuntimeConfig) GetResourceInstanceId

func (x *OpEnsureRuntimeConfig) GetResourceInstanceId() []string

func (*OpEnsureRuntimeConfig) GetRuntimeConfig

func (x *OpEnsureRuntimeConfig) GetRuntimeConfig() *runtime.RuntimeConfig

func (*OpEnsureRuntimeConfig) ProtoMessage

func (*OpEnsureRuntimeConfig) ProtoMessage()

func (*OpEnsureRuntimeConfig) ProtoReflect

func (x *OpEnsureRuntimeConfig) ProtoReflect() protoreflect.Message

func (*OpEnsureRuntimeConfig) Reset

func (x *OpEnsureRuntimeConfig) Reset()

func (*OpEnsureRuntimeConfig) String

func (x *OpEnsureRuntimeConfig) String() string

type OpEnsureRuntimeConfig_InjectedResource

type OpEnsureRuntimeConfig_InjectedResource struct {
	ResourceRef    *schema.PackageRef `protobuf:"bytes,1,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	SerializedJson []byte             `protobuf:"bytes,2,opt,name=serialized_json,json=serializedJson,proto3" json:"serialized_json,omitempty"`
	// contains filtered or unexported fields
}

func (*OpEnsureRuntimeConfig_InjectedResource) Descriptor deprecated

func (*OpEnsureRuntimeConfig_InjectedResource) Descriptor() ([]byte, []int)

Deprecated: Use OpEnsureRuntimeConfig_InjectedResource.ProtoReflect.Descriptor instead.

func (*OpEnsureRuntimeConfig_InjectedResource) GetResourceRef

func (*OpEnsureRuntimeConfig_InjectedResource) GetSerializedJson

func (x *OpEnsureRuntimeConfig_InjectedResource) GetSerializedJson() []byte

func (*OpEnsureRuntimeConfig_InjectedResource) ProtoMessage

func (*OpEnsureRuntimeConfig_InjectedResource) ProtoReflect

func (*OpEnsureRuntimeConfig_InjectedResource) Reset

func (*OpEnsureRuntimeConfig_InjectedResource) String

type OpMapAddress added in v0.0.113

type OpMapAddress struct {
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Fdqn        string `protobuf:"bytes,1,opt,name=fdqn,proto3" json:"fdqn,omitempty"`
	// If specified, will map to the IP address of the LoadBalancer resolved.
	IngressNs   string `protobuf:"bytes,2,opt,name=ingress_ns,json=ingressNs,proto3" json:"ingress_ns,omitempty"`
	IngressName string `protobuf:"bytes,3,opt,name=ingress_name,json=ingressName,proto3" json:"ingress_name,omitempty"`
	// If specified, will map to the specified target.
	CnameTarget    string                   `protobuf:"bytes,4,opt,name=cname_target,json=cnameTarget,proto3" json:"cname_target,omitempty"`
	IngressService *OpMapAddress_ServiceRef `protobuf:"bytes,6,opt,name=ingress_service,json=ingressService,proto3" json:"ingress_service,omitempty"`
	// contains filtered or unexported fields
}

func (*OpMapAddress) Descriptor deprecated added in v0.0.113

func (*OpMapAddress) Descriptor() ([]byte, []int)

Deprecated: Use OpMapAddress.ProtoReflect.Descriptor instead.

func (*OpMapAddress) GetCnameTarget added in v0.0.113

func (x *OpMapAddress) GetCnameTarget() string

func (*OpMapAddress) GetDescription added in v0.0.113

func (x *OpMapAddress) GetDescription() string

func (*OpMapAddress) GetFdqn added in v0.0.113

func (x *OpMapAddress) GetFdqn() string

func (*OpMapAddress) GetIngressName added in v0.0.113

func (x *OpMapAddress) GetIngressName() string

func (*OpMapAddress) GetIngressNs added in v0.0.113

func (x *OpMapAddress) GetIngressNs() string

func (*OpMapAddress) GetIngressService added in v0.0.151

func (x *OpMapAddress) GetIngressService() *OpMapAddress_ServiceRef

func (*OpMapAddress) ProtoMessage added in v0.0.113

func (*OpMapAddress) ProtoMessage()

func (*OpMapAddress) ProtoReflect added in v0.0.113

func (x *OpMapAddress) ProtoReflect() protoreflect.Message

func (*OpMapAddress) Reset added in v0.0.113

func (x *OpMapAddress) Reset()

func (*OpMapAddress) String added in v0.0.113

func (x *OpMapAddress) String() string

type OpMapAddress_ServiceRef added in v0.0.151

type OpMapAddress_ServiceRef struct {
	Namespace   string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

func (*OpMapAddress_ServiceRef) Descriptor deprecated added in v0.0.151

func (*OpMapAddress_ServiceRef) Descriptor() ([]byte, []int)

Deprecated: Use OpMapAddress_ServiceRef.ProtoReflect.Descriptor instead.

func (*OpMapAddress_ServiceRef) GetNamespace added in v0.0.151

func (x *OpMapAddress_ServiceRef) GetNamespace() string

func (*OpMapAddress_ServiceRef) GetServiceName added in v0.0.151

func (x *OpMapAddress_ServiceRef) GetServiceName() string

func (*OpMapAddress_ServiceRef) ProtoMessage added in v0.0.151

func (*OpMapAddress_ServiceRef) ProtoMessage()

func (*OpMapAddress_ServiceRef) ProtoReflect added in v0.0.151

func (x *OpMapAddress_ServiceRef) ProtoReflect() protoreflect.Message

func (*OpMapAddress_ServiceRef) Reset added in v0.0.151

func (x *OpMapAddress_ServiceRef) Reset()

func (*OpMapAddress_ServiceRef) String added in v0.0.151

func (x *OpMapAddress_ServiceRef) String() string

type ServiceAccountDetails

type ServiceAccountDetails struct {
	ServiceAccountName string `protobuf:"bytes,1,opt,name=service_account_name,json=serviceAccountName,proto3" json:"service_account_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccountDetails) Descriptor deprecated

func (*ServiceAccountDetails) Descriptor() ([]byte, []int)

Deprecated: Use ServiceAccountDetails.ProtoReflect.Descriptor instead.

func (*ServiceAccountDetails) GetServiceAccountName

func (x *ServiceAccountDetails) GetServiceAccountName() string

func (*ServiceAccountDetails) ProtoMessage

func (*ServiceAccountDetails) ProtoMessage()

func (*ServiceAccountDetails) ProtoReflect

func (x *ServiceAccountDetails) ProtoReflect() protoreflect.Message

func (*ServiceAccountDetails) Reset

func (x *ServiceAccountDetails) Reset()

func (*ServiceAccountDetails) String

func (x *ServiceAccountDetails) String() string

type SpecExtension

type SpecExtension struct {

	// XXX ideally we'd use Kubernetes protos here.
	ServiceAccount string                      `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Volume         []*SpecExtension_Volume     `protobuf:"bytes,1,rep,name=volume,proto3" json:"volume,omitempty"`
	Annotation     []*SpecExtension_Annotation `protobuf:"bytes,2,rep,name=annotation,proto3" json:"annotation,omitempty"`
	// If true, creates a service account. If `service_account` is specified, use that name, else generate one from the server's name.
	EnsureServiceAccount     bool                           `protobuf:"varint,4,opt,name=ensure_service_account,json=ensureServiceAccount,proto3" json:"ensure_service_account,omitempty"`
	ServiceAccountAnnotation []*SpecExtension_Annotation    `` /* 135-byte string literal not displayed */
	SecurityContext          *SpecExtension_SecurityContext `protobuf:"bytes,6,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	Toleration               []*SpecExtension_Toleration    `protobuf:"bytes,7,rep,name=toleration,proto3" json:"toleration,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension) Descriptor deprecated

func (*SpecExtension) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension.ProtoReflect.Descriptor instead.

func (*SpecExtension) GetAnnotation

func (x *SpecExtension) GetAnnotation() []*SpecExtension_Annotation

func (*SpecExtension) GetEnsureServiceAccount

func (x *SpecExtension) GetEnsureServiceAccount() bool

func (*SpecExtension) GetSecurityContext

func (x *SpecExtension) GetSecurityContext() *SpecExtension_SecurityContext

func (*SpecExtension) GetServiceAccount

func (x *SpecExtension) GetServiceAccount() string

func (*SpecExtension) GetServiceAccountAnnotation

func (x *SpecExtension) GetServiceAccountAnnotation() []*SpecExtension_Annotation

func (*SpecExtension) GetToleration added in v0.0.142

func (x *SpecExtension) GetToleration() []*SpecExtension_Toleration

func (*SpecExtension) GetVolume

func (x *SpecExtension) GetVolume() []*SpecExtension_Volume

func (*SpecExtension) ProtoMessage

func (*SpecExtension) ProtoMessage()

func (*SpecExtension) ProtoReflect

func (x *SpecExtension) ProtoReflect() protoreflect.Message

func (*SpecExtension) Reset

func (x *SpecExtension) Reset()

func (*SpecExtension) String

func (x *SpecExtension) String() string

type SpecExtension_Annotation

type SpecExtension_Annotation struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Annotation) Descriptor deprecated

func (*SpecExtension_Annotation) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Annotation.ProtoReflect.Descriptor instead.

func (*SpecExtension_Annotation) GetKey

func (x *SpecExtension_Annotation) GetKey() string

func (*SpecExtension_Annotation) GetValue

func (x *SpecExtension_Annotation) GetValue() string

func (*SpecExtension_Annotation) ProtoMessage

func (*SpecExtension_Annotation) ProtoMessage()

func (*SpecExtension_Annotation) ProtoReflect

func (x *SpecExtension_Annotation) ProtoReflect() protoreflect.Message

func (*SpecExtension_Annotation) Reset

func (x *SpecExtension_Annotation) Reset()

func (*SpecExtension_Annotation) String

func (x *SpecExtension_Annotation) String() string

type SpecExtension_SecurityContext

type SpecExtension_SecurityContext struct {
	RunAsUser  int64 `protobuf:"varint,1,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
	RunAsGroup int64 `protobuf:"varint,2,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"`
	FsGroup    int64 `protobuf:"varint,3,opt,name=fs_group,json=fsGroup,proto3" json:"fs_group,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_SecurityContext) Descriptor deprecated

func (*SpecExtension_SecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_SecurityContext.ProtoReflect.Descriptor instead.

func (*SpecExtension_SecurityContext) GetFsGroup

func (x *SpecExtension_SecurityContext) GetFsGroup() int64

func (*SpecExtension_SecurityContext) GetRunAsGroup

func (x *SpecExtension_SecurityContext) GetRunAsGroup() int64

func (*SpecExtension_SecurityContext) GetRunAsUser

func (x *SpecExtension_SecurityContext) GetRunAsUser() int64

func (*SpecExtension_SecurityContext) ProtoMessage

func (*SpecExtension_SecurityContext) ProtoMessage()

func (*SpecExtension_SecurityContext) ProtoReflect

func (*SpecExtension_SecurityContext) Reset

func (x *SpecExtension_SecurityContext) Reset()

func (*SpecExtension_SecurityContext) String

type SpecExtension_Toleration added in v0.0.142

type SpecExtension_Toleration struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Effect   string `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Toleration) Descriptor deprecated added in v0.0.142

func (*SpecExtension_Toleration) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Toleration.ProtoReflect.Descriptor instead.

func (*SpecExtension_Toleration) GetEffect added in v0.0.142

func (x *SpecExtension_Toleration) GetEffect() string

func (*SpecExtension_Toleration) GetKey added in v0.0.142

func (x *SpecExtension_Toleration) GetKey() string

func (*SpecExtension_Toleration) GetOperator added in v0.0.142

func (x *SpecExtension_Toleration) GetOperator() string

func (*SpecExtension_Toleration) GetValue added in v0.0.142

func (x *SpecExtension_Toleration) GetValue() string

func (*SpecExtension_Toleration) ProtoMessage added in v0.0.142

func (*SpecExtension_Toleration) ProtoMessage()

func (*SpecExtension_Toleration) ProtoReflect added in v0.0.142

func (x *SpecExtension_Toleration) ProtoReflect() protoreflect.Message

func (*SpecExtension_Toleration) Reset added in v0.0.142

func (x *SpecExtension_Toleration) Reset()

func (*SpecExtension_Toleration) String added in v0.0.142

func (x *SpecExtension_Toleration) String() string

type SpecExtension_Volume

type SpecExtension_Volume struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to VolumeType:
	//	*SpecExtension_Volume_Secret_
	//	*SpecExtension_Volume_ConfigMap_
	VolumeType isSpecExtension_Volume_VolumeType `protobuf_oneof:"volume_type"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Volume) Descriptor deprecated

func (*SpecExtension_Volume) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Volume.ProtoReflect.Descriptor instead.

func (*SpecExtension_Volume) GetConfigMap

func (*SpecExtension_Volume) GetName

func (x *SpecExtension_Volume) GetName() string

func (*SpecExtension_Volume) GetSecret

func (*SpecExtension_Volume) GetVolumeType

func (m *SpecExtension_Volume) GetVolumeType() isSpecExtension_Volume_VolumeType

func (*SpecExtension_Volume) ProtoMessage

func (*SpecExtension_Volume) ProtoMessage()

func (*SpecExtension_Volume) ProtoReflect

func (x *SpecExtension_Volume) ProtoReflect() protoreflect.Message

func (*SpecExtension_Volume) Reset

func (x *SpecExtension_Volume) Reset()

func (*SpecExtension_Volume) String

func (x *SpecExtension_Volume) String() string

type SpecExtension_Volume_ConfigMap

type SpecExtension_Volume_ConfigMap struct {
	Name          string                                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ConfigMapName string                                 `protobuf:"bytes,2,opt,name=config_map_name,json=configMapName,proto3" json:"config_map_name,omitempty"`
	Item          []*SpecExtension_Volume_ConfigMap_Item `protobuf:"bytes,3,rep,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Volume_ConfigMap) Descriptor deprecated

func (*SpecExtension_Volume_ConfigMap) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Volume_ConfigMap.ProtoReflect.Descriptor instead.

func (*SpecExtension_Volume_ConfigMap) GetConfigMapName

func (x *SpecExtension_Volume_ConfigMap) GetConfigMapName() string

func (*SpecExtension_Volume_ConfigMap) GetItem

func (*SpecExtension_Volume_ConfigMap) GetName

func (*SpecExtension_Volume_ConfigMap) ProtoMessage

func (*SpecExtension_Volume_ConfigMap) ProtoMessage()

func (*SpecExtension_Volume_ConfigMap) ProtoReflect

func (*SpecExtension_Volume_ConfigMap) Reset

func (x *SpecExtension_Volume_ConfigMap) Reset()

func (*SpecExtension_Volume_ConfigMap) String

type SpecExtension_Volume_ConfigMap_

type SpecExtension_Volume_ConfigMap_ struct {
	ConfigMap *SpecExtension_Volume_ConfigMap `protobuf:"bytes,3,opt,name=config_map,json=configMap,proto3,oneof"`
}

type SpecExtension_Volume_ConfigMap_Item

type SpecExtension_Volume_ConfigMap_Item struct {
	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Volume_ConfigMap_Item) Descriptor deprecated

func (*SpecExtension_Volume_ConfigMap_Item) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Volume_ConfigMap_Item.ProtoReflect.Descriptor instead.

func (*SpecExtension_Volume_ConfigMap_Item) GetKey

func (*SpecExtension_Volume_ConfigMap_Item) GetPath

func (*SpecExtension_Volume_ConfigMap_Item) ProtoMessage

func (*SpecExtension_Volume_ConfigMap_Item) ProtoMessage()

func (*SpecExtension_Volume_ConfigMap_Item) ProtoReflect

func (*SpecExtension_Volume_ConfigMap_Item) Reset

func (*SpecExtension_Volume_ConfigMap_Item) String

type SpecExtension_Volume_Secret

type SpecExtension_Volume_Secret struct {
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecExtension_Volume_Secret) Descriptor deprecated

func (*SpecExtension_Volume_Secret) Descriptor() ([]byte, []int)

Deprecated: Use SpecExtension_Volume_Secret.ProtoReflect.Descriptor instead.

func (*SpecExtension_Volume_Secret) GetSecretName

func (x *SpecExtension_Volume_Secret) GetSecretName() string

func (*SpecExtension_Volume_Secret) ProtoMessage

func (*SpecExtension_Volume_Secret) ProtoMessage()

func (*SpecExtension_Volume_Secret) ProtoReflect

func (*SpecExtension_Volume_Secret) Reset

func (x *SpecExtension_Volume_Secret) Reset()

func (*SpecExtension_Volume_Secret) String

func (x *SpecExtension_Volume_Secret) String() string

type SpecExtension_Volume_Secret_

type SpecExtension_Volume_Secret_ struct {
	Secret *SpecExtension_Volume_Secret `protobuf:"bytes,2,opt,name=secret,proto3,oneof"`
}

type SystemInfo

type SystemInfo struct {
	NodePlatform         []string            `protobuf:"bytes,1,rep,name=node_platform,json=nodePlatform,proto3" json:"node_platform,omitempty"`
	DetectedDistribution string              `protobuf:"bytes,2,opt,name=detected_distribution,json=detectedDistribution,proto3" json:"detected_distribution,omitempty"` // k3d, eks, etc.
	EksClusterName       string              `protobuf:"bytes,3,opt,name=eks_cluster_name,json=eksClusterName,proto3" json:"eks_cluster_name,omitempty"`                 // Only set if distribution is eks.
	Regions              []string            `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`                                                       // See region_distribution for details.
	Zones                []string            `protobuf:"bytes,5,rep,name=zones,proto3" json:"zones,omitempty"`                                                           // Set zone_distribution for details.
	RegionDistribution   []*NodeDistribution `protobuf:"bytes,6,rep,name=region_distribution,json=regionDistribution,proto3" json:"region_distribution,omitempty"`
	ZoneDistribution     []*NodeDistribution `protobuf:"bytes,7,rep,name=zone_distribution,json=zoneDistribution,proto3" json:"zone_distribution,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfo) Descriptor deprecated

func (*SystemInfo) Descriptor() ([]byte, []int)

Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.

func (*SystemInfo) GetDetectedDistribution

func (x *SystemInfo) GetDetectedDistribution() string

func (*SystemInfo) GetEksClusterName

func (x *SystemInfo) GetEksClusterName() string

func (*SystemInfo) GetNodePlatform

func (x *SystemInfo) GetNodePlatform() []string

func (*SystemInfo) GetRegionDistribution

func (x *SystemInfo) GetRegionDistribution() []*NodeDistribution

func (*SystemInfo) GetRegions

func (x *SystemInfo) GetRegions() []string

func (*SystemInfo) GetZoneDistribution

func (x *SystemInfo) GetZoneDistribution() []*NodeDistribution

func (*SystemInfo) GetZones

func (x *SystemInfo) GetZones() []string

func (*SystemInfo) ProtoMessage

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) ProtoReflect

func (x *SystemInfo) ProtoReflect() protoreflect.Message

func (*SystemInfo) Reset

func (x *SystemInfo) Reset()

func (*SystemInfo) String

func (x *SystemInfo) String() string

Jump to

Keyboard shortcuts

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