v1

package
v0.30.20 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 23 Imported by: 1,045

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true

Index

Constants

View Source
const (
	AceInfoConfigMapName = "ace-info"

	ClusterNameKey         string = "cluster.appscode.com/name"
	ClusterDisplayNameKey  string = "cluster.appscode.com/display-name"
	ClusterProviderNameKey string = "cluster.appscode.com/provider"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ErrInvalidClusterManager = fmt.Errorf("not a valid ClusterManager, try [%s]", strings.Join(_ClusterManagerNames, ", "))
View Source
var ErrInvalidEdgeLabel = fmt.Errorf("not a valid EdgeLabel, try [%s]", strings.Join(_EdgeLabelNames, ", "))

Functions

func ClusterManagerNames added in v0.29.10

func ClusterManagerNames() []string

ClusterManagerNames returns a list of possible string values of ClusterManager.

func EdgeLabelNames added in v0.25.23

func EdgeLabelNames() []string

EdgeLabelNames returns a list of possible string values of EdgeLabel.

func FromAPIVersionAndKind

func FromAPIVersionAndKind(apiVersion, kind string) metav1.GroupVersionKind

FromAPIVersionAndKind returns a GVK representing the provided fields for types that do not use TypeMeta. This method exists to support test types and legacy serializations that have a distinct group and kind.

func GetCertificateSecretName

func GetCertificateSecretName(certificates []CertificateSpec, alias string) (string, bool)

GetCertificateSecretName returns the name of secret for a certificate alias.

func HasCertificate

func HasCertificate(certificates []CertificateSpec, alias string) bool

HasCertificate returns "true" if the desired certificate provided in "aliaS" is present in the certificate list. Otherwise, it returns "false".

func ObjectIDMap

func ObjectIDMap(key OID) (map[string]interface{}, error)

Types

type CAPIClusterInfo added in v0.25.34

type CAPIClusterInfo struct {
	Provider    CAPIProvider `json:"provider"`
	Namespace   string       `json:"namespace"`
	ClusterName string       `json:"clusterName"`
}

func (*CAPIClusterInfo) DeepCopy added in v0.25.34

func (in *CAPIClusterInfo) DeepCopy() *CAPIClusterInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPIClusterInfo.

func (*CAPIClusterInfo) DeepCopyInto added in v0.25.34

func (in *CAPIClusterInfo) DeepCopyInto(out *CAPIClusterInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CAPIProvider added in v0.30.16

type CAPIProvider string

+kubebuilder:validation:Enum=capa;capg;capz

const (
	CAPIProviderCAPA CAPIProvider = "capa"
	CAPIProviderCAPG CAPIProvider = "capg"
	CAPIProviderCAPZ CAPIProvider = "capz"
	CAPIProviderCAPH CAPIProvider = "caph"
)

type CertificatePrivateKey

type CertificatePrivateKey struct {
	// The private key cryptography standards (PKCS) encoding for this
	// certificate's private key to be encoded in.
	// If provided, allowed values are "pkcs1" and "pkcs8" standing for PKCS#1
	// and PKCS#8, respectively.
	// Defaults to PKCS#1 if not specified.
	// See here for the difference between the formats: https://stackoverflow.com/a/48960291
	// +optional
	Encoding PrivateKeyEncoding `json:"encoding,omitempty" protobuf:"bytes,1,opt,name=encoding,casttype=PrivateKeyEncoding"`
}

CertificatePrivateKey contains configuration options for private keys used by the Certificate controller. This allows control of how private keys are rotated.

func (*CertificatePrivateKey) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatePrivateKey.

func (*CertificatePrivateKey) DeepCopyInto

func (in *CertificatePrivateKey) DeepCopyInto(out *CertificatePrivateKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificatePrivateKey) Descriptor

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

func (*CertificatePrivateKey) Marshal

func (m *CertificatePrivateKey) Marshal() (dAtA []byte, err error)

func (*CertificatePrivateKey) MarshalTo

func (m *CertificatePrivateKey) MarshalTo(dAtA []byte) (int, error)

func (*CertificatePrivateKey) MarshalToSizedBuffer

func (m *CertificatePrivateKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertificatePrivateKey) ProtoMessage

func (*CertificatePrivateKey) ProtoMessage()

func (*CertificatePrivateKey) Reset

func (m *CertificatePrivateKey) Reset()

func (*CertificatePrivateKey) Size

func (m *CertificatePrivateKey) Size() (n int)

func (*CertificatePrivateKey) String

func (this *CertificatePrivateKey) String() string

func (*CertificatePrivateKey) Unmarshal

func (m *CertificatePrivateKey) Unmarshal(dAtA []byte) error

func (*CertificatePrivateKey) XXX_DiscardUnknown

func (m *CertificatePrivateKey) XXX_DiscardUnknown()

func (*CertificatePrivateKey) XXX_Marshal

func (m *CertificatePrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertificatePrivateKey) XXX_Merge

func (m *CertificatePrivateKey) XXX_Merge(src proto.Message)

func (*CertificatePrivateKey) XXX_Size

func (m *CertificatePrivateKey) XXX_Size() int

func (*CertificatePrivateKey) XXX_Unmarshal

func (m *CertificatePrivateKey) XXX_Unmarshal(b []byte) error

type CertificateSpec

type CertificateSpec struct {
	// Alias represents the identifier of the certificate.
	Alias string `json:"alias" protobuf:"bytes,1,opt,name=alias"`

	// IssuerRef is a reference to a Certificate Issuer.
	// +optional
	IssuerRef *core.TypedLocalObjectReference `json:"issuerRef,omitempty" protobuf:"bytes,2,opt,name=issuerRef"`

	// Specifies the k8s secret name that holds the certificates.
	// Default to <resource-name>-<cert-alias>-cert.
	// +optional
	SecretName string `json:"secretName,omitempty" protobuf:"bytes,3,opt,name=secretName"`

	// Full X509 name specification (https://golang.org/pkg/crypto/x509/pkix/#Name).
	// +optional
	Subject *X509Subject `json:"subject,omitempty" protobuf:"bytes,4,opt,name=subject"`

	// Certificate default Duration
	// +optional
	Duration *metav1.Duration `json:"duration,omitempty" protobuf:"bytes,5,opt,name=duration"`

	// Certificate renew before expiration duration
	// +optional
	RenewBefore *metav1.Duration `json:"renewBefore,omitempty" protobuf:"bytes,6,opt,name=renewBefore"`

	// DNSNames is a list of subject alt names to be used on the Certificate.
	// +optional
	DNSNames []string `json:"dnsNames,omitempty" protobuf:"bytes,7,rep,name=dnsNames"`

	// IPAddresses is a list of IP addresses to be used on the Certificate
	// +optional
	IPAddresses []string `json:"ipAddresses,omitempty" protobuf:"bytes,8,rep,name=ipAddresses"`

	// URIs is a list of URI subjectAltNames to be set on the Certificate.
	// +optional
	URIs []string `json:"uris,omitempty" protobuf:"bytes,9,rep,name=uris"`

	// EmailAddresses is a list of email subjectAltNames to be set on the Certificate.
	// +optional
	EmailAddresses []string `json:"emailAddresses,omitempty" protobuf:"bytes,10,rep,name=emailAddresses"`

	// Options to control private keys used for the Certificate.
	// +optional
	PrivateKey *CertificatePrivateKey `json:"privateKey,omitempty" protobuf:"bytes,11,opt,name=privateKey"`
}

func GetCertificate

func GetCertificate(certificates []CertificateSpec, alias string) (int, *CertificateSpec)

GetCertificate returns a pointer to the desired certificate referred by "aliaS". Otherwise, it returns nil.

func RemoveCertificate

func RemoveCertificate(certificates []CertificateSpec, alias string) []CertificateSpec

RemoveCertificate remove a certificate from the certificate list referred by "aliaS" parameter.

func SetCertificate

func SetCertificate(certificates []CertificateSpec, newCertificate CertificateSpec) []CertificateSpec

SetCertificate add/update the desired certificate to the certificate list.

func SetMissingSecretNameForCertificate

func SetMissingSecretNameForCertificate(certificates []CertificateSpec, alias, secretName string) []CertificateSpec

SetMissingSecretNameForCertificate sets the missing secret name for a certificate. If the certificate does not exist, it will add a new certificate with the desired secret name.

func SetMissingSpecForCertificate

func SetMissingSpecForCertificate(certificates []CertificateSpec, spec CertificateSpec) []CertificateSpec

SetMissingSpecForCertificate sets the missing spec fields for a certificate. If the certificate does not exist, it will add a new certificate with the desired spec.

func SetSecretNameForCertificate

func SetSecretNameForCertificate(certificates []CertificateSpec, alias, secretName string) []CertificateSpec

SetSecretNameForCertificate sets the secret name for a certificate. If the certificate does not exist, it will add a new certificate with the desired secret name. Otherwise, the secret name will be overwritten.

func SetSpecForCertificate

func SetSpecForCertificate(certificates []CertificateSpec, spec CertificateSpec) []CertificateSpec

SetSpecForCertificate sets the spec for a certificate. If the certificate does not exist, it will add a new certificate with the desired spec. Otherwise, the spec will be overwritten.

func (*CertificateSpec) DeepCopy

func (in *CertificateSpec) DeepCopy() *CertificateSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec.

func (*CertificateSpec) DeepCopyInto

func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CertificateSpec) Descriptor

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

func (*CertificateSpec) Marshal

func (m *CertificateSpec) Marshal() (dAtA []byte, err error)

func (*CertificateSpec) MarshalTo

func (m *CertificateSpec) MarshalTo(dAtA []byte) (int, error)

func (*CertificateSpec) MarshalToSizedBuffer

func (m *CertificateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertificateSpec) ProtoMessage

func (*CertificateSpec) ProtoMessage()

func (*CertificateSpec) Reset

func (m *CertificateSpec) Reset()

func (*CertificateSpec) Size

func (m *CertificateSpec) Size() (n int)

func (*CertificateSpec) String

func (this *CertificateSpec) String() string

func (*CertificateSpec) Unmarshal

func (m *CertificateSpec) Unmarshal(dAtA []byte) error

func (*CertificateSpec) XXX_DiscardUnknown

func (m *CertificateSpec) XXX_DiscardUnknown()

func (*CertificateSpec) XXX_Marshal

func (m *CertificateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertificateSpec) XXX_Merge

func (m *CertificateSpec) XXX_Merge(src proto.Message)

func (*CertificateSpec) XXX_Size

func (m *CertificateSpec) XXX_Size() int

func (*CertificateSpec) XXX_Unmarshal

func (m *CertificateSpec) XXX_Unmarshal(b []byte) error

type ClusterInfo added in v0.30.16

type ClusterInfo struct {
	UID             string   `json:"uid"`
	Name            string   `json:"name"`
	ClusterManagers []string `json:"clusterManagers"`
	// +optional
	CAPI *CAPIClusterInfo `json:"capi"`
}

ClusterInfo used in ace-installer

func (*ClusterInfo) DeepCopy added in v0.30.16

func (in *ClusterInfo) DeepCopy() *ClusterInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.

func (*ClusterInfo) DeepCopyInto added in v0.30.16

func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterManager added in v0.25.34

type ClusterManager int

ENUM(

ACE                         = 1
OCMHub                      = 2
OCMMulticlusterControlplane = 4
OCMSpoke                    = 8
OpenShift                   = 16
Rancher                     = 32
VirtualCluster              = 64

)

const (
	ClusterManagerACE ClusterManager = 1 << iota
	ClusterManagerOCMHub
	ClusterManagerOCMMulticlusterControlplane
	ClusterManagerOCMSpoke
	ClusterManagerOpenShift
	ClusterManagerRancher
	ClusterManagerVirtualCluster
)

func ClusterManagerValues added in v0.29.10

func ClusterManagerValues() []ClusterManager

ClusterManagerValues returns a list of the values for ClusterManager

func ParseClusterManager added in v0.29.10

func ParseClusterManager(name string) (ClusterManager, error)

ParseClusterManager attempts to convert a string to a ClusterManager.

func (ClusterManager) ManagedByACE added in v0.25.34

func (cm ClusterManager) ManagedByACE() bool

func (ClusterManager) ManagedByOCMHub added in v0.25.35

func (cm ClusterManager) ManagedByOCMHub() bool

func (ClusterManager) ManagedByOCMMulticlusterControlplane added in v0.25.35

func (cm ClusterManager) ManagedByOCMMulticlusterControlplane() bool

func (ClusterManager) ManagedByOCMSpoke added in v0.25.35

func (cm ClusterManager) ManagedByOCMSpoke() bool

func (ClusterManager) ManagedByOpenShift added in v0.25.34

func (cm ClusterManager) ManagedByOpenShift() bool

func (ClusterManager) ManagedByRancher added in v0.25.34

func (cm ClusterManager) ManagedByRancher() bool

func (ClusterManager) ManagedByVirtualCluster added in v0.25.38

func (cm ClusterManager) ManagedByVirtualCluster() bool

func (ClusterManager) String added in v0.25.34

func (cm ClusterManager) String() string

func (ClusterManager) Strings added in v0.25.34

func (cm ClusterManager) Strings() []string

type ClusterMetadata

type ClusterMetadata struct {
	UID         string          `json:"uid" protobuf:"bytes,1,opt,name=uid"`
	Name        string          `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	DisplayName string          `json:"displayName,omitempty" protobuf:"bytes,3,opt,name=displayName"`
	Provider    HostingProvider `json:"provider,omitempty" protobuf:"bytes,4,opt,name=provider,casttype=HostingProvider"`
	OwnerID     string          `json:"ownerID,omitempty"`
	OwnerType   string          `json:"ownerType,omitempty"`
	APIEndpoint string          `json:"apiEndpoint,omitempty"`
	CABundle    string          `json:"caBundle,omitempty"`
}

func (*ClusterMetadata) DeepCopy

func (in *ClusterMetadata) DeepCopy() *ClusterMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetadata.

func (*ClusterMetadata) DeepCopyInto

func (in *ClusterMetadata) DeepCopyInto(out *ClusterMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterMetadata) Descriptor

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

func (*ClusterMetadata) Marshal

func (m *ClusterMetadata) Marshal() (dAtA []byte, err error)

func (*ClusterMetadata) MarshalTo

func (m *ClusterMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ClusterMetadata) MarshalToSizedBuffer

func (m *ClusterMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterMetadata) ProtoMessage

func (*ClusterMetadata) ProtoMessage()

func (*ClusterMetadata) Reset

func (m *ClusterMetadata) Reset()

func (*ClusterMetadata) Size

func (m *ClusterMetadata) Size() (n int)

func (ClusterMetadata) State added in v0.30.11

func (md ClusterMetadata) State() string

func (*ClusterMetadata) String

func (this *ClusterMetadata) String() string

func (*ClusterMetadata) Unmarshal

func (m *ClusterMetadata) Unmarshal(dAtA []byte) error

func (*ClusterMetadata) XXX_DiscardUnknown

func (m *ClusterMetadata) XXX_DiscardUnknown()

func (*ClusterMetadata) XXX_Marshal

func (m *ClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterMetadata) XXX_Merge

func (m *ClusterMetadata) XXX_Merge(src proto.Message)

func (*ClusterMetadata) XXX_Size

func (m *ClusterMetadata) XXX_Size() int

func (*ClusterMetadata) XXX_Unmarshal

func (m *ClusterMetadata) XXX_Unmarshal(b []byte) error

type Condition

type Condition struct {
	// Type of condition in CamelCase or in foo.example.com/CamelCase.
	// Many .condition.type values are consistent across resources like Available, but because arbitrary util
	// can be useful (see .node.status.util), the ability to deconflict is important.
	Type ConditionType `json:"type" protobuf:"bytes,4,opt,name=type,casttype=ConditionType"`

	// Status of the condition, one of True, False, Unknown.
	Status metav1.ConditionStatus `json:"status" protobuf:"bytes,5,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// If set, this represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`

	// Severity provides an explicit classification of Reason code, so the users or machines can immediately
	// understand the current situation and act accordingly.
	// The Severity field MUST be set only when Status=False.
	// +optional
	Severity ConditionSeverity `json:"severity,omitempty" protobuf:"bytes,6,opt,name=severity,casttype=ConditionSeverity"`

	// Last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed. If that is not known, then using the time when
	// the API field changed is acceptable.
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,7,opt,name=lastTransitionTime"`

	// The reason for the condition's last transition in CamelCase.
	// The specific API may choose whether this field is considered a guaranteed API.
	// This field may not be empty.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,8,opt,name=reason"`

	// A human-readable message indicating details about the transition.
	// This field may be empty.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,9,opt,name=message"`
}

Condition defines an observation of a object operational state.

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Condition) Descriptor

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

func (*Condition) Marshal

func (m *Condition) Marshal() (dAtA []byte, err error)

func (*Condition) MarshalTo

func (m *Condition) MarshalTo(dAtA []byte) (int, error)

func (*Condition) MarshalToSizedBuffer

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

func (m *Condition) Size() (n int)

func (*Condition) String

func (this *Condition) String() string

func (*Condition) Unmarshal

func (m *Condition) Unmarshal(dAtA []byte) error

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (m *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

type ConditionSeverity added in v0.25.27

type ConditionSeverity string

ConditionSeverity expresses the severity of a Condition Type failing.

const (
	// ConditionSeverityError specifies that a condition with `Status=False` is an error.
	ConditionSeverityError ConditionSeverity = "Error"

	// ConditionSeverityWarning specifies that a condition with `Status=False` is a warning.
	ConditionSeverityWarning ConditionSeverity = "Warning"

	// ConditionSeverityInfo specifies that a condition with `Status=False` is informative.
	ConditionSeverityInfo ConditionSeverity = "Info"

	// ConditionSeverityNone should apply only to util with `Status=True`.
	ConditionSeverityNone ConditionSeverity = ""
)

type ConditionType added in v0.25.27

type ConditionType string

ConditionType is a valid value for Condition.Type.

const (
	// ReadyCondition defines the Ready condition type that summarizes the operational state of an object.
	ReadyCondition ConditionType = "Ready"
)

type Conditions added in v0.25.27

type Conditions []Condition

Conditions provide observations of the operational state of a object.

func (Conditions) DeepCopy added in v0.25.27

func (in Conditions) DeepCopy() Conditions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.

func (Conditions) DeepCopyInto added in v0.25.27

func (in Conditions) DeepCopyInto(out *Conditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeLabel

type EdgeLabel string

+kubebuilder:validation:Enum=authn;authz;auth_secret;backup_via;catalog;cert_issuer;config;connect_via;exposed_by;event;located_on;monitored_by;ocm_bind;offshoot;ops;policy;recommended_for;restore_into;scaled_by;source;storage;view ENUM(authn,authz,auth_secret,backup_via,catalog,cert_issuer,config,connect_via,exposed_by,event,located_on,monitored_by,ocm_bind,offshoot,ops,policy,recommended_for,restore_into,scaled_by,source,storage,view)

const (
	// EdgeLabelAuthn is a EdgeLabel of type authn.
	EdgeLabelAuthn EdgeLabel = "authn"
	// EdgeLabelAuthz is a EdgeLabel of type authz.
	EdgeLabelAuthz EdgeLabel = "authz"
	// EdgeLabelAuthSecret is a EdgeLabel of type auth_secret.
	EdgeLabelAuthSecret EdgeLabel = "auth_secret"
	// EdgeLabelBackupVia is a EdgeLabel of type backup_via.
	EdgeLabelBackupVia EdgeLabel = "backup_via"
	// EdgeLabelCatalog is a EdgeLabel of type catalog.
	EdgeLabelCatalog EdgeLabel = "catalog"
	// EdgeLabelCertIssuer is a EdgeLabel of type cert_issuer.
	EdgeLabelCertIssuer EdgeLabel = "cert_issuer"
	// EdgeLabelConfig is a EdgeLabel of type config.
	EdgeLabelConfig EdgeLabel = "config"
	// EdgeLabelConnectVia is a EdgeLabel of type connect_via.
	EdgeLabelConnectVia EdgeLabel = "connect_via"
	// EdgeLabelExposedBy is a EdgeLabel of type exposed_by.
	EdgeLabelExposedBy EdgeLabel = "exposed_by"
	// EdgeLabelEvent is a EdgeLabel of type event.
	EdgeLabelEvent EdgeLabel = "event"
	// EdgeLabelLocatedOn is a EdgeLabel of type located_on.
	EdgeLabelLocatedOn EdgeLabel = "located_on"
	// EdgeLabelMonitoredBy is a EdgeLabel of type monitored_by.
	EdgeLabelMonitoredBy EdgeLabel = "monitored_by"
	// EdgeLabelOcmBind is a EdgeLabel of type ocm_bind.
	EdgeLabelOcmBind EdgeLabel = "ocm_bind"
	// EdgeLabelOffshoot is a EdgeLabel of type offshoot.
	EdgeLabelOffshoot EdgeLabel = "offshoot"
	// EdgeLabelOps is a EdgeLabel of type ops.
	EdgeLabelOps EdgeLabel = "ops"
	// EdgeLabelPolicy is a EdgeLabel of type policy.
	EdgeLabelPolicy EdgeLabel = "policy"
	// EdgeLabelRecommendedFor is a EdgeLabel of type recommended_for.
	EdgeLabelRecommendedFor EdgeLabel = "recommended_for"
	// EdgeLabelRestoreInto is a EdgeLabel of type restore_into.
	EdgeLabelRestoreInto EdgeLabel = "restore_into"
	// EdgeLabelScaledBy is a EdgeLabel of type scaled_by.
	EdgeLabelScaledBy EdgeLabel = "scaled_by"
	// EdgeLabelSource is a EdgeLabel of type source.
	EdgeLabelSource EdgeLabel = "source"
	// EdgeLabelStorage is a EdgeLabel of type storage.
	EdgeLabelStorage EdgeLabel = "storage"
	// EdgeLabelView is a EdgeLabel of type view.
	EdgeLabelView EdgeLabel = "view"
)

func EdgeLabelValues added in v0.25.23

func EdgeLabelValues() []EdgeLabel

EdgeLabelValues returns a list of the values for EdgeLabel

func MustParseEdgeLabel added in v0.25.23

func MustParseEdgeLabel(name string) EdgeLabel

MustParseEdgeLabel converts a string to a EdgeLabel, and panics if is not valid.

func ParseEdgeLabel added in v0.25.23

func ParseEdgeLabel(name string) (EdgeLabel, error)

ParseEdgeLabel attempts to convert a string to a EdgeLabel.

func (EdgeLabel) Direct added in v0.24.11

func (e EdgeLabel) Direct() bool

func (EdgeLabel) IsValid added in v0.25.23

func (x EdgeLabel) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (EdgeLabel) String added in v0.25.23

func (x EdgeLabel) String() string

String implements the Stringer interface.

type HealthCheckSpec added in v0.24.6

type HealthCheckSpec struct {
	ReadonlyHealthCheckSpec `json:",inline" protobuf:"bytes,1,opt,name=readonlyHealthCheckSpec"`
	// Whether to disable write check on database.
	// Defaults to false.
	// +optional
	DisableWriteCheck bool `json:"disableWriteCheck,omitempty" protobuf:"varint,2,opt,name=disableWriteCheck"`
}

HealthCheckSpec defines attributes of the health check

func (*HealthCheckSpec) DeepCopy added in v0.24.6

func (in *HealthCheckSpec) DeepCopy() *HealthCheckSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckSpec.

func (*HealthCheckSpec) DeepCopyInto added in v0.24.6

func (in *HealthCheckSpec) DeepCopyInto(out *HealthCheckSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HealthCheckSpec) Descriptor added in v0.24.6

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

func (*HealthCheckSpec) Marshal added in v0.24.6

func (m *HealthCheckSpec) Marshal() (dAtA []byte, err error)

func (*HealthCheckSpec) MarshalTo added in v0.24.6

func (m *HealthCheckSpec) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckSpec) MarshalToSizedBuffer added in v0.24.6

func (m *HealthCheckSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthCheckSpec) ProtoMessage added in v0.24.6

func (*HealthCheckSpec) ProtoMessage()

func (*HealthCheckSpec) Reset added in v0.24.6

func (m *HealthCheckSpec) Reset()

func (*HealthCheckSpec) Size added in v0.24.6

func (m *HealthCheckSpec) Size() (n int)

func (*HealthCheckSpec) String added in v0.24.6

func (this *HealthCheckSpec) String() string

func (*HealthCheckSpec) Unmarshal added in v0.24.6

func (m *HealthCheckSpec) Unmarshal(dAtA []byte) error

func (*HealthCheckSpec) XXX_DiscardUnknown added in v0.24.6

func (m *HealthCheckSpec) XXX_DiscardUnknown()

func (*HealthCheckSpec) XXX_Marshal added in v0.24.6

func (m *HealthCheckSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckSpec) XXX_Merge added in v0.24.6

func (m *HealthCheckSpec) XXX_Merge(src proto.Message)

func (*HealthCheckSpec) XXX_Size added in v0.24.6

func (m *HealthCheckSpec) XXX_Size() int

func (*HealthCheckSpec) XXX_Unmarshal added in v0.24.6

func (m *HealthCheckSpec) XXX_Unmarshal(b []byte) error

type HostingProvider

type HostingProvider string

+kubebuilder:validation:Enum=Aws;Azure;DigitalOcean;GoogleCloud;Linode;Packet;Scaleway;Vultr;BareMetal;KIND;Generic

const (
	HostingProviderAWS          HostingProvider = "Aws"
	HostingProviderAzure        HostingProvider = "Azure"
	HostingProviderDigitalOcean HostingProvider = "DigitalOcean"
	HostingProviderGoogleCloud  HostingProvider = "GoogleCloud"
	HostingProviderExoscale     HostingProvider = "Exoscale"
	HostingProviderLinode       HostingProvider = "Linode"
	HostingProviderPacket       HostingProvider = "Packet"
	HostingProviderScaleway     HostingProvider = "Scaleway"
	HostingProviderVultr        HostingProvider = "Vultr"
	HostingProviderBareMetal    HostingProvider = "BareMetal"
	HostingProviderKIND         HostingProvider = "KIND"
	HostingProviderGeneric      HostingProvider = "Generic"
)

type ImageInfo added in v0.25.13

type ImageInfo struct {
	Image           string           `json:"image" protobuf:"bytes,1,opt,name=image"`
	Lineages        []Lineage        `json:"lineages,omitempty" protobuf:"bytes,2,rep,name=lineages"`
	PullCredentials *PullCredentials `json:"pullCredentials,omitempty" protobuf:"bytes,3,opt,name=pullCredentials"`
}

func (*ImageInfo) DeepCopy added in v0.25.13

func (in *ImageInfo) DeepCopy() *ImageInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInfo.

func (*ImageInfo) DeepCopyInto added in v0.25.13

func (in *ImageInfo) DeepCopyInto(out *ImageInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageInfo) Descriptor added in v0.25.13

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

func (*ImageInfo) Marshal added in v0.25.13

func (m *ImageInfo) Marshal() (dAtA []byte, err error)

func (*ImageInfo) MarshalTo added in v0.25.13

func (m *ImageInfo) MarshalTo(dAtA []byte) (int, error)

func (*ImageInfo) MarshalToSizedBuffer added in v0.25.13

func (m *ImageInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageInfo) ProtoMessage added in v0.25.13

func (*ImageInfo) ProtoMessage()

func (*ImageInfo) Reset added in v0.25.13

func (m *ImageInfo) Reset()

func (*ImageInfo) Size added in v0.25.13

func (m *ImageInfo) Size() (n int)

func (*ImageInfo) String added in v0.25.13

func (this *ImageInfo) String() string

func (*ImageInfo) Unmarshal added in v0.25.13

func (m *ImageInfo) Unmarshal(dAtA []byte) error

func (*ImageInfo) XXX_DiscardUnknown added in v0.25.13

func (m *ImageInfo) XXX_DiscardUnknown()

func (*ImageInfo) XXX_Marshal added in v0.25.13

func (m *ImageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageInfo) XXX_Merge added in v0.25.13

func (m *ImageInfo) XXX_Merge(src proto.Message)

func (*ImageInfo) XXX_Size added in v0.25.13

func (m *ImageInfo) XXX_Size() int

func (*ImageInfo) XXX_Unmarshal added in v0.25.13

func (m *ImageInfo) XXX_Unmarshal(b []byte) error

type Lineage added in v0.25.13

type Lineage struct {
	Chain      []ObjectInfo `json:"chain,omitempty" protobuf:"bytes,1,rep,name=chain"`
	Containers []string     `json:"containers,omitempty" protobuf:"bytes,2,rep,name=containers"`
}

func (*Lineage) DeepCopy added in v0.25.13

func (in *Lineage) DeepCopy() *Lineage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lineage.

func (*Lineage) DeepCopyInto added in v0.25.13

func (in *Lineage) DeepCopyInto(out *Lineage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Lineage) Descriptor added in v0.25.13

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

func (*Lineage) Marshal added in v0.25.13

func (m *Lineage) Marshal() (dAtA []byte, err error)

func (*Lineage) MarshalTo added in v0.25.13

func (m *Lineage) MarshalTo(dAtA []byte) (int, error)

func (*Lineage) MarshalToSizedBuffer added in v0.25.13

func (m *Lineage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Lineage) ProtoMessage added in v0.25.13

func (*Lineage) ProtoMessage()

func (*Lineage) Reset added in v0.25.13

func (m *Lineage) Reset()

func (*Lineage) Size added in v0.25.13

func (m *Lineage) Size() (n int)

func (*Lineage) String added in v0.25.13

func (this *Lineage) String() string

func (*Lineage) Unmarshal added in v0.25.13

func (m *Lineage) Unmarshal(dAtA []byte) error

func (*Lineage) XXX_DiscardUnknown added in v0.25.13

func (m *Lineage) XXX_DiscardUnknown()

func (*Lineage) XXX_Marshal added in v0.25.13

func (m *Lineage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Lineage) XXX_Merge added in v0.25.13

func (m *Lineage) XXX_Merge(src proto.Message)

func (*Lineage) XXX_Size added in v0.25.13

func (m *Lineage) XXX_Size() int

func (*Lineage) XXX_Unmarshal added in v0.25.13

func (m *Lineage) XXX_Unmarshal(b []byte) error

type OID

type OID string

type ObjectID

type ObjectID struct {
	Group     string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Kind      string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	Name      string `json:"name,omitempty" protobuf:"bytes,4,opt,name=name"`
}

func MustParseObjectID added in v0.25.30

func MustParseObjectID(key OID) *ObjectID

func NewObjectID

func NewObjectID(obj client.Object) *ObjectID

func ParseObjectID

func ParseObjectID(key OID) (*ObjectID, error)

func (*ObjectID) DeepCopy

func (in *ObjectID) DeepCopy() *ObjectID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectID.

func (*ObjectID) DeepCopyInto

func (in *ObjectID) DeepCopyInto(out *ObjectID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ObjectID) Descriptor

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

func (*ObjectID) GroupKind

func (oid *ObjectID) GroupKind() schema.GroupKind

func (*ObjectID) Marshal

func (m *ObjectID) Marshal() (dAtA []byte, err error)

func (*ObjectID) MarshalTo

func (m *ObjectID) MarshalTo(dAtA []byte) (int, error)

func (*ObjectID) MarshalToSizedBuffer

func (m *ObjectID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectID) MetaGroupKind

func (oid *ObjectID) MetaGroupKind() metav1.GroupKind

func (*ObjectID) OID

func (oid *ObjectID) OID() OID

func (*ObjectID) ObjectKey

func (oid *ObjectID) ObjectKey() client.ObjectKey

func (*ObjectID) ObjectReference

func (oid *ObjectID) ObjectReference() ObjectReference

func (*ObjectID) ProtoMessage

func (*ObjectID) ProtoMessage()

func (*ObjectID) Reset

func (m *ObjectID) Reset()

func (*ObjectID) Size

func (m *ObjectID) Size() (n int)

func (*ObjectID) String

func (this *ObjectID) String() string

func (*ObjectID) Unmarshal

func (m *ObjectID) Unmarshal(dAtA []byte) error

func (*ObjectID) WithNamespace

func (oid *ObjectID) WithNamespace(fallback string) *ObjectID

WithNamespace sets the namespace if original namespace is empty. Never changes the original ObjectID.

func (*ObjectID) XXX_DiscardUnknown

func (m *ObjectID) XXX_DiscardUnknown()

func (*ObjectID) XXX_Marshal

func (m *ObjectID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectID) XXX_Merge

func (m *ObjectID) XXX_Merge(src proto.Message)

func (*ObjectID) XXX_Size

func (m *ObjectID) XXX_Size() int

func (*ObjectID) XXX_Unmarshal

func (m *ObjectID) XXX_Unmarshal(b []byte) error

type ObjectInfo

type ObjectInfo struct {
	Resource ResourceID      `json:"resource" protobuf:"bytes,1,opt,name=resource"`
	Ref      ObjectReference `json:"ref" protobuf:"bytes,2,opt,name=ref"`
}

func (*ObjectInfo) DeepCopy

func (in *ObjectInfo) DeepCopy() *ObjectInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectInfo.

func (*ObjectInfo) DeepCopyInto

func (in *ObjectInfo) DeepCopyInto(out *ObjectInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ObjectInfo) Descriptor

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

func (*ObjectInfo) Marshal

func (m *ObjectInfo) Marshal() (dAtA []byte, err error)

func (*ObjectInfo) MarshalTo

func (m *ObjectInfo) MarshalTo(dAtA []byte) (int, error)

func (*ObjectInfo) MarshalToSizedBuffer

func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectInfo) ProtoMessage

func (*ObjectInfo) ProtoMessage()

func (*ObjectInfo) Reset

func (m *ObjectInfo) Reset()

func (*ObjectInfo) Size

func (m *ObjectInfo) Size() (n int)

func (*ObjectInfo) String

func (this *ObjectInfo) String() string

func (*ObjectInfo) Unmarshal

func (m *ObjectInfo) Unmarshal(dAtA []byte) error

func (*ObjectInfo) XXX_DiscardUnknown

func (m *ObjectInfo) XXX_DiscardUnknown()

func (*ObjectInfo) XXX_Marshal

func (m *ObjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectInfo) XXX_Merge

func (m *ObjectInfo) XXX_Merge(src proto.Message)

func (*ObjectInfo) XXX_Size

func (m *ObjectInfo) XXX_Size() int

func (*ObjectInfo) XXX_Unmarshal

func (m *ObjectInfo) XXX_Unmarshal(b []byte) error

type ObjectReference

type ObjectReference struct {
	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
}

ObjectReference contains enough information to let you inspect or modify the referred object.

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ObjectReference) Descriptor

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

func (*ObjectReference) Marshal

func (m *ObjectReference) Marshal() (dAtA []byte, err error)

func (*ObjectReference) MarshalTo

func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error)

func (*ObjectReference) MarshalToSizedBuffer

func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ObjectReference) ObjectKey

func (ref ObjectReference) ObjectKey() client.ObjectKey

func (*ObjectReference) ProtoMessage

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) Reset

func (m *ObjectReference) Reset()

func (*ObjectReference) Size

func (m *ObjectReference) Size() (n int)

func (*ObjectReference) String

func (this *ObjectReference) String() string

func (*ObjectReference) Unmarshal

func (m *ObjectReference) Unmarshal(dAtA []byte) error

func (*ObjectReference) WithNamespace

func (ref *ObjectReference) WithNamespace(fallback string) *ObjectReference

WithNamespace sets the namespace if original namespace is empty. Never changes the original ObjectReference.

func (*ObjectReference) XXX_DiscardUnknown

func (m *ObjectReference) XXX_DiscardUnknown()

func (*ObjectReference) XXX_Marshal

func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectReference) XXX_Merge

func (m *ObjectReference) XXX_Merge(src proto.Message)

func (*ObjectReference) XXX_Size

func (m *ObjectReference) XXX_Size() int

func (*ObjectReference) XXX_Unmarshal

func (m *ObjectReference) XXX_Unmarshal(b []byte) error

type PrivateKeyEncoding

type PrivateKeyEncoding string

+kubebuilder:validation:Enum=PKCS1;PKCS8

const (
	// PKCS1 key encoding will produce PEM files that include the type of
	// private key as part of the PEM header, e.g. "BEGIN RSA PRIVATE KEY".
	// If the keyAlgorithm is set to 'ECDSA', this will produce private keys
	// that use the "BEGIN EC PRIVATE KEY" header.
	PKCS1 PrivateKeyEncoding = "PKCS1"

	// PKCS8 key encoding will produce PEM files with the "BEGIN PRIVATE KEY"
	// header. It encodes the keyAlgorithm of the private key as part of the
	// DER encoded PEM block.
	PKCS8 PrivateKeyEncoding = "PKCS8"
)

type PullCredentials added in v0.25.15

type PullCredentials struct {
	Namespace          string                      `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
	ServiceAccountName string                      `json:"serviceAccountName,omitempty" protobuf:"bytes,2,opt,name=serviceAccountName"`
	SecretRefs         []core.LocalObjectReference `json:"secretRefs,omitempty" protobuf:"bytes,3,rep,name=secretRefs"`
}

func (*PullCredentials) DeepCopy added in v0.25.15

func (in *PullCredentials) DeepCopy() *PullCredentials

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullCredentials.

func (*PullCredentials) DeepCopyInto added in v0.25.15

func (in *PullCredentials) DeepCopyInto(out *PullCredentials)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullCredentials) Descriptor added in v0.25.15

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

func (*PullCredentials) Marshal added in v0.25.15

func (m *PullCredentials) Marshal() (dAtA []byte, err error)

func (*PullCredentials) MarshalTo added in v0.25.15

func (m *PullCredentials) MarshalTo(dAtA []byte) (int, error)

func (*PullCredentials) MarshalToSizedBuffer added in v0.25.15

func (m *PullCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullCredentials) ProtoMessage added in v0.25.15

func (*PullCredentials) ProtoMessage()

func (*PullCredentials) Reset added in v0.25.15

func (m *PullCredentials) Reset()

func (*PullCredentials) Size added in v0.25.15

func (m *PullCredentials) Size() (n int)

func (*PullCredentials) String added in v0.25.15

func (this *PullCredentials) String() string

func (*PullCredentials) Unmarshal added in v0.25.15

func (m *PullCredentials) Unmarshal(dAtA []byte) error

func (*PullCredentials) XXX_DiscardUnknown added in v0.25.15

func (m *PullCredentials) XXX_DiscardUnknown()

func (*PullCredentials) XXX_Marshal added in v0.25.15

func (m *PullCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullCredentials) XXX_Merge added in v0.25.15

func (m *PullCredentials) XXX_Merge(src proto.Message)

func (*PullCredentials) XXX_Size added in v0.25.15

func (m *PullCredentials) XXX_Size() int

func (*PullCredentials) XXX_Unmarshal added in v0.25.15

func (m *PullCredentials) XXX_Unmarshal(b []byte) error

type ReadonlyHealthCheckSpec added in v0.24.6

type ReadonlyHealthCheckSpec struct {
	// How often (in seconds) to perform the health check.
	// Default to 10 seconds. Minimum value is 1.
	// +optional
	// +kubebuilder:default=10
	PeriodSeconds *int32 `json:"periodSeconds,omitempty" protobuf:"varint,1,opt,name=periodSeconds"`
	// Number of seconds after which the probe times out.
	// Defaults to 10 second. Minimum value is 1.
	// It should be less than the periodSeconds.
	// +optional
	// +kubebuilder:default=10
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,2,opt,name=timeoutSeconds"`
	// Minimum consecutive failures for the health check to be considered failed after having succeeded.
	// Defaults to 1. Minimum value is 1.
	// +optional
	// +kubebuilder:default=1
	FailureThreshold *int32 `json:"failureThreshold,omitempty" protobuf:"varint,3,opt,name=failureThreshold"`
}

ReadonlyHealthCheckSpec defines attributes of the health check using only read-only checks

func (*ReadonlyHealthCheckSpec) DeepCopy added in v0.24.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyHealthCheckSpec.

func (*ReadonlyHealthCheckSpec) DeepCopyInto added in v0.24.6

func (in *ReadonlyHealthCheckSpec) DeepCopyInto(out *ReadonlyHealthCheckSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReadonlyHealthCheckSpec) Descriptor added in v0.24.6

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

func (*ReadonlyHealthCheckSpec) Marshal added in v0.24.6

func (m *ReadonlyHealthCheckSpec) Marshal() (dAtA []byte, err error)

func (*ReadonlyHealthCheckSpec) MarshalTo added in v0.24.6

func (m *ReadonlyHealthCheckSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReadonlyHealthCheckSpec) MarshalToSizedBuffer added in v0.24.6

func (m *ReadonlyHealthCheckSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReadonlyHealthCheckSpec) ProtoMessage added in v0.24.6

func (*ReadonlyHealthCheckSpec) ProtoMessage()

func (*ReadonlyHealthCheckSpec) Reset added in v0.24.6

func (m *ReadonlyHealthCheckSpec) Reset()

func (*ReadonlyHealthCheckSpec) Size added in v0.24.6

func (m *ReadonlyHealthCheckSpec) Size() (n int)

func (*ReadonlyHealthCheckSpec) String added in v0.24.6

func (this *ReadonlyHealthCheckSpec) String() string

func (*ReadonlyHealthCheckSpec) Unmarshal added in v0.24.6

func (m *ReadonlyHealthCheckSpec) Unmarshal(dAtA []byte) error

func (*ReadonlyHealthCheckSpec) XXX_DiscardUnknown added in v0.24.6

func (m *ReadonlyHealthCheckSpec) XXX_DiscardUnknown()

func (*ReadonlyHealthCheckSpec) XXX_Marshal added in v0.24.6

func (m *ReadonlyHealthCheckSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadonlyHealthCheckSpec) XXX_Merge added in v0.24.6

func (m *ReadonlyHealthCheckSpec) XXX_Merge(src proto.Message)

func (*ReadonlyHealthCheckSpec) XXX_Size added in v0.24.6

func (m *ReadonlyHealthCheckSpec) XXX_Size() int

func (*ReadonlyHealthCheckSpec) XXX_Unmarshal added in v0.24.6

func (m *ReadonlyHealthCheckSpec) XXX_Unmarshal(b []byte) error

type ResourceID

type ResourceID struct {
	Group   string `json:"group" protobuf:"bytes,1,opt,name=group"`
	Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
	// Name is the plural name of the resource to serve.  It must match the name of the CustomResourceDefinition-registration
	// too: plural.group and it must be all lowercase.
	Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
	// Kind is the serialized kind of the resource.  It is normally CamelCase and singular.
	Kind  string        `json:"kind,omitempty" protobuf:"bytes,4,opt,name=kind"`
	Scope ResourceScope `json:"scope,omitempty" protobuf:"bytes,5,opt,name=scope,casttype=ResourceScope"`
}

ResourceID identifies a resource

func ExtractResourceID

func ExtractResourceID(mapper meta.RESTMapper, in ResourceID) (*ResourceID, error)

func NewResourceID

func NewResourceID(mapping *meta.RESTMapping) *ResourceID

func (*ResourceID) DeepCopy

func (in *ResourceID) DeepCopy() *ResourceID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceID.

func (*ResourceID) DeepCopyInto

func (in *ResourceID) DeepCopyInto(out *ResourceID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceID) Descriptor

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

func (ResourceID) GroupKind

func (r ResourceID) GroupKind() schema.GroupKind

func (ResourceID) GroupResource

func (r ResourceID) GroupResource() schema.GroupResource

func (ResourceID) GroupVersion

func (r ResourceID) GroupVersion() schema.GroupVersion

func (ResourceID) GroupVersionKind

func (r ResourceID) GroupVersionKind() schema.GroupVersionKind

func (ResourceID) GroupVersionResource

func (r ResourceID) GroupVersionResource() schema.GroupVersionResource

func (ResourceID) ListGroupVersionKind added in v0.30.6

func (r ResourceID) ListGroupVersionKind() schema.GroupVersionKind

func (*ResourceID) Marshal

func (m *ResourceID) Marshal() (dAtA []byte, err error)

func (*ResourceID) MarshalTo

func (m *ResourceID) MarshalTo(dAtA []byte) (int, error)

func (*ResourceID) MarshalToSizedBuffer

func (m *ResourceID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ResourceID) MetaGVK

func (r ResourceID) MetaGVK() metav1.GroupVersionKind

func (ResourceID) MetaGVR

func (*ResourceID) ProtoMessage

func (*ResourceID) ProtoMessage()

func (*ResourceID) Reset

func (m *ResourceID) Reset()

func (*ResourceID) Size

func (m *ResourceID) Size() (n int)

func (*ResourceID) String

func (this *ResourceID) String() string

func (ResourceID) TypeMeta

func (r ResourceID) TypeMeta() metav1.TypeMeta

func (*ResourceID) Unmarshal

func (m *ResourceID) Unmarshal(dAtA []byte) error

func (*ResourceID) XXX_DiscardUnknown

func (m *ResourceID) XXX_DiscardUnknown()

func (*ResourceID) XXX_Marshal

func (m *ResourceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceID) XXX_Merge

func (m *ResourceID) XXX_Merge(src proto.Message)

func (*ResourceID) XXX_Size

func (m *ResourceID) XXX_Size() int

func (*ResourceID) XXX_Unmarshal

func (m *ResourceID) XXX_Unmarshal(b []byte) error

type ResourceScope

type ResourceScope string

ResourceScope is an enum defining the different scopes available to a custom resource

const (
	ClusterScoped   ResourceScope = "Cluster"
	NamespaceScoped ResourceScope = "Namespaced"
)

type TLSConfig

type TLSConfig struct {
	// IssuerRef is a reference to a Certificate Issuer.
	// +optional
	IssuerRef *core.TypedLocalObjectReference `json:"issuerRef,omitempty" protobuf:"bytes,1,opt,name=issuerRef"`

	// Certificate provides server and/or client certificate options used by application pods.
	// These options are passed to a cert-manager Certificate object.
	// xref: https://github.com/jetstack/cert-manager/blob/v0.16.0/pkg/apis/certmanager/v1beta1/types_certificate.go#L82-L162
	// +optional
	Certificates []CertificateSpec `json:"certificates,omitempty" protobuf:"bytes,2,rep,name=certificates"`
}

func (*TLSConfig) DeepCopy

func (in *TLSConfig) DeepCopy() *TLSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.

func (*TLSConfig) DeepCopyInto

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TLSConfig) Descriptor

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

func (*TLSConfig) Marshal

func (m *TLSConfig) Marshal() (dAtA []byte, err error)

func (*TLSConfig) MarshalTo

func (m *TLSConfig) MarshalTo(dAtA []byte) (int, error)

func (*TLSConfig) MarshalToSizedBuffer

func (m *TLSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) Reset

func (m *TLSConfig) Reset()

func (*TLSConfig) Size

func (m *TLSConfig) Size() (n int)

func (*TLSConfig) String

func (this *TLSConfig) String() string

func (*TLSConfig) Unmarshal

func (m *TLSConfig) Unmarshal(dAtA []byte) error

func (*TLSConfig) XXX_DiscardUnknown

func (m *TLSConfig) XXX_DiscardUnknown()

func (*TLSConfig) XXX_Marshal

func (m *TLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSConfig) XXX_Merge

func (m *TLSConfig) XXX_Merge(src proto.Message)

func (*TLSConfig) XXX_Size

func (m *TLSConfig) XXX_Size() int

func (*TLSConfig) XXX_Unmarshal

func (m *TLSConfig) XXX_Unmarshal(b []byte) error

type TimeOfDay

type TimeOfDay struct {
	time.Time `protobuf:"-"`
}

TimeOfDay is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

func Date

func Date(hour, min, sec int) TimeOfDay

Date returns the TimeOfDay corresponding to the supplied parameters by wrapping time.Date.

func NewTime

func NewTime(t time.Time) TimeOfDay

NewTime returns a wrapped instance of the provided time

func NewTimeInLocation

func NewTimeInLocation(t time.Time, loc *time.Location) TimeOfDay

NewTimeInLocation returns a wrapped instance of the provided time according to location

func Now

func Now() TimeOfDay

Now returns the current local time.

func Unix

func Unix(sec int64, nsec int64) TimeOfDay

Unix returns the local time corresponding to the given Unix time by wrapping time.Unix.

func (*TimeOfDay) Before

func (t *TimeOfDay) Before(u *TimeOfDay) bool

Before reports whether the time instant t is before u.

func (TimeOfDay) Copy

func (t TimeOfDay) Copy() TimeOfDay

Copy returns a copy of the TimeOfDay at second-level precision.

func (*TimeOfDay) DeepCopy

func (in *TimeOfDay) DeepCopy() *TimeOfDay

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeOfDay.

func (*TimeOfDay) DeepCopyInto

func (t *TimeOfDay) DeepCopyInto(out *TimeOfDay)

DeepCopyInto creates a deep-copy of the TimeOfDay value. The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.

func (*TimeOfDay) Descriptor

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

func (*TimeOfDay) Equal

func (t *TimeOfDay) Equal(u *TimeOfDay) bool

Equal reports whether the time instant t is equal to u.

func (*TimeOfDay) Fuzz

func (t *TimeOfDay) Fuzz(c fuzz.Continue)

Fuzz satisfies fuzz.Interface.

func (*TimeOfDay) IsZero

func (t *TimeOfDay) IsZero() bool

IsZero returns true if the value is nil or time is zero.

func (TimeOfDay) MarshalJSON

func (t TimeOfDay) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (TimeOfDay) MarshalQueryParameter

func (t TimeOfDay) MarshalQueryParameter() (string, error)

MarshalQueryParameter converts to a URL query parameter value

func (TimeOfDay) OpenAPISchemaFormat

func (_ TimeOfDay) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (TimeOfDay) OpenAPISchemaType

func (_ TimeOfDay) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*TimeOfDay) ProtoMessage

func (*TimeOfDay) ProtoMessage()

func (*TimeOfDay) Reset

func (m *TimeOfDay) Reset()

func (TimeOfDay) ToUnstructured

func (t TimeOfDay) ToUnstructured() interface{}

ToUnstructured implements the value.UnstructuredConverter interface.

func (*TimeOfDay) UnmarshalJSON

func (t *TimeOfDay) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*TimeOfDay) UnmarshalQueryParameter

func (t *TimeOfDay) UnmarshalQueryParameter(str string) error

UnmarshalQueryParameter converts from a URL query parameter value to an object

func (*TimeOfDay) XXX_DiscardUnknown

func (m *TimeOfDay) XXX_DiscardUnknown()

func (*TimeOfDay) XXX_Marshal

func (m *TimeOfDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeOfDay) XXX_Merge

func (m *TimeOfDay) XXX_Merge(src proto.Message)

func (*TimeOfDay) XXX_Size

func (m *TimeOfDay) XXX_Size() int

func (*TimeOfDay) XXX_Unmarshal

func (m *TimeOfDay) XXX_Unmarshal(b []byte) error

type TypedObjectReference

type TypedObjectReference struct {
	APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
	Kind     string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name" protobuf:"bytes,4,opt,name=name"`
}

TypedObjectReference represents an typed namespaced object.

func (*TypedObjectReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedObjectReference.

func (*TypedObjectReference) DeepCopyInto

func (in *TypedObjectReference) DeepCopyInto(out *TypedObjectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TypedObjectReference) Descriptor

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

func (*TypedObjectReference) Marshal

func (m *TypedObjectReference) Marshal() (dAtA []byte, err error)

func (*TypedObjectReference) MarshalTo

func (m *TypedObjectReference) MarshalTo(dAtA []byte) (int, error)

func (*TypedObjectReference) MarshalToSizedBuffer

func (m *TypedObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TypedObjectReference) ProtoMessage

func (*TypedObjectReference) ProtoMessage()

func (*TypedObjectReference) Reset

func (m *TypedObjectReference) Reset()

func (*TypedObjectReference) Size

func (m *TypedObjectReference) Size() (n int)

func (*TypedObjectReference) String

func (this *TypedObjectReference) String() string

func (*TypedObjectReference) Unmarshal

func (m *TypedObjectReference) Unmarshal(dAtA []byte) error

func (*TypedObjectReference) XXX_DiscardUnknown

func (m *TypedObjectReference) XXX_DiscardUnknown()

func (*TypedObjectReference) XXX_Marshal

func (m *TypedObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypedObjectReference) XXX_Merge

func (m *TypedObjectReference) XXX_Merge(src proto.Message)

func (*TypedObjectReference) XXX_Size

func (m *TypedObjectReference) XXX_Size() int

func (*TypedObjectReference) XXX_Unmarshal

func (m *TypedObjectReference) XXX_Unmarshal(b []byte) error

type X509Subject

type X509Subject struct {
	// Organizations to be used on the Certificate.
	// +optional
	Organizations []string `json:"organizations,omitempty" protobuf:"bytes,1,rep,name=organizations"`
	// Countries to be used on the CertificateSpec.
	// +optional
	Countries []string `json:"countries,omitempty" protobuf:"bytes,2,rep,name=countries"`
	// Organizational Units to be used on the CertificateSpec.
	// +optional
	OrganizationalUnits []string `json:"organizationalUnits,omitempty" protobuf:"bytes,3,rep,name=organizationalUnits"`
	// Cities to be used on the CertificateSpec.
	// +optional
	Localities []string `json:"localities,omitempty" protobuf:"bytes,4,rep,name=localities"`
	// State/Provinces to be used on the CertificateSpec.
	// +optional
	Provinces []string `json:"provinces,omitempty" protobuf:"bytes,5,rep,name=provinces"`
	// Street addresses to be used on the CertificateSpec.
	// +optional
	StreetAddresses []string `json:"streetAddresses,omitempty" protobuf:"bytes,6,rep,name=streetAddresses"`
	// Postal codes to be used on the CertificateSpec.
	// +optional
	PostalCodes []string `json:"postalCodes,omitempty" protobuf:"bytes,7,rep,name=postalCodes"`
	// Serial number to be used on the CertificateSpec.
	// +optional
	SerialNumber string `json:"serialNumber,omitempty" protobuf:"bytes,8,opt,name=serialNumber"`
}

X509Subject Full X509 name specification

func (*X509Subject) DeepCopy

func (in *X509Subject) DeepCopy() *X509Subject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new X509Subject.

func (*X509Subject) DeepCopyInto

func (in *X509Subject) DeepCopyInto(out *X509Subject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*X509Subject) Descriptor

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

func (*X509Subject) Marshal

func (m *X509Subject) Marshal() (dAtA []byte, err error)

func (*X509Subject) MarshalTo

func (m *X509Subject) MarshalTo(dAtA []byte) (int, error)

func (*X509Subject) MarshalToSizedBuffer

func (m *X509Subject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*X509Subject) ProtoMessage

func (*X509Subject) ProtoMessage()

func (*X509Subject) Reset

func (m *X509Subject) Reset()

func (*X509Subject) Size

func (m *X509Subject) Size() (n int)

func (*X509Subject) String

func (this *X509Subject) String() string

func (*X509Subject) Unmarshal

func (m *X509Subject) Unmarshal(dAtA []byte) error

func (*X509Subject) XXX_DiscardUnknown

func (m *X509Subject) XXX_DiscardUnknown()

func (*X509Subject) XXX_Marshal

func (m *X509Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X509Subject) XXX_Merge

func (m *X509Subject) XXX_Merge(src proto.Message)

func (*X509Subject) XXX_Size

func (m *X509Subject) XXX_Size() int

func (*X509Subject) XXX_Unmarshal

func (m *X509Subject) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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