Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
Index ¶
- Constants
- Variables
- func EqualsGVK(a schema.GroupVersionKind, b metav1.GroupVersionKind) bool
- func EqualsGVR(a schema.GroupVersionResource, b metav1.GroupVersionResource) bool
- func FromAPIVersionAndKind(apiVersion, kind string) metav1.GroupVersionKind
- func FromMetaGVK(in metav1.GroupVersionKind) schema.GroupVersionKind
- func FromMetaGVR(in metav1.GroupVersionResource) schema.GroupVersionResource
- func GetCertificateSecretName(certificates []CertificateSpec, alias string) (string, bool)
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func HasCertificate(certificates []CertificateSpec, alias string) bool
- func HasCondition(conditions []Condition, condType string) bool
- func IsConditionFalse(conditions []Condition, condType string) bool
- func IsConditionTrue(conditions []Condition, condType string) bool
- func IsConditionUnknown(conditions []Condition, condType string) bool
- func ObjectIDMap(key OID) (map[string]interface{}, error)
- func ToMetaGVK(in schema.GroupVersionKind) metav1.GroupVersionKind
- func ToMetaGVR(in schema.GroupVersionResource) metav1.GroupVersionResource
- type CertificatePrivateKey
- func (in *CertificatePrivateKey) DeepCopy() *CertificatePrivateKey
- func (in *CertificatePrivateKey) DeepCopyInto(out *CertificatePrivateKey)
- func (*CertificatePrivateKey) Descriptor() ([]byte, []int)
- func (m *CertificatePrivateKey) Marshal() (dAtA []byte, err error)
- func (m *CertificatePrivateKey) MarshalTo(dAtA []byte) (int, error)
- func (m *CertificatePrivateKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CertificatePrivateKey) ProtoMessage()
- func (m *CertificatePrivateKey) Reset()
- func (m *CertificatePrivateKey) Size() (n int)
- func (this *CertificatePrivateKey) String() string
- func (m *CertificatePrivateKey) Unmarshal(dAtA []byte) error
- func (m *CertificatePrivateKey) XXX_DiscardUnknown()
- func (m *CertificatePrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificatePrivateKey) XXX_Merge(src proto.Message)
- func (m *CertificatePrivateKey) XXX_Size() int
- func (m *CertificatePrivateKey) XXX_Unmarshal(b []byte) error
- type CertificateSpec
- func GetCertificate(certificates []CertificateSpec, alias string) (int, *CertificateSpec)
- func RemoveCertificate(certificates []CertificateSpec, alias string) []CertificateSpec
- func SetCertificate(certificates []CertificateSpec, newCertificate CertificateSpec) []CertificateSpec
- func SetMissingSecretNameForCertificate(certificates []CertificateSpec, alias, secretName string) []CertificateSpec
- func SetMissingSpecForCertificate(certificates []CertificateSpec, spec CertificateSpec) []CertificateSpec
- func SetSecretNameForCertificate(certificates []CertificateSpec, alias, secretName string) []CertificateSpec
- func SetSpecForCertificate(certificates []CertificateSpec, spec CertificateSpec) []CertificateSpec
- func (in *CertificateSpec) DeepCopy() *CertificateSpec
- func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)
- func (*CertificateSpec) Descriptor() ([]byte, []int)
- func (m *CertificateSpec) Marshal() (dAtA []byte, err error)
- func (m *CertificateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *CertificateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CertificateSpec) ProtoMessage()
- func (m *CertificateSpec) Reset()
- func (m *CertificateSpec) Size() (n int)
- func (this *CertificateSpec) String() string
- func (m *CertificateSpec) Unmarshal(dAtA []byte) error
- func (m *CertificateSpec) XXX_DiscardUnknown()
- func (m *CertificateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateSpec) XXX_Merge(src proto.Message)
- func (m *CertificateSpec) XXX_Size() int
- func (m *CertificateSpec) XXX_Unmarshal(b []byte) error
- type ClusterMetadata
- func (in *ClusterMetadata) DeepCopy() *ClusterMetadata
- func (in *ClusterMetadata) DeepCopyInto(out *ClusterMetadata)
- func (*ClusterMetadata) Descriptor() ([]byte, []int)
- func (m *ClusterMetadata) Marshal() (dAtA []byte, err error)
- func (m *ClusterMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterMetadata) ProtoMessage()
- func (m *ClusterMetadata) Reset()
- func (m *ClusterMetadata) Size() (n int)
- func (this *ClusterMetadata) String() string
- func (m *ClusterMetadata) Unmarshal(dAtA []byte) error
- func (m *ClusterMetadata) XXX_DiscardUnknown()
- func (m *ClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterMetadata) XXX_Merge(src proto.Message)
- func (m *ClusterMetadata) XXX_Size() int
- func (m *ClusterMetadata) XXX_Unmarshal(b []byte) error
- type Condition
- func GetCondition(conditions []Condition, condType string) (int, *Condition)
- func NewCondition(reason string, message string, generation int64, conditionStatus ...bool) Condition
- func RemoveCondition(conditions []Condition, condType string) []Condition
- func SetCondition(conditions []Condition, newCondition Condition) []Condition
- func (in *Condition) DeepCopy() *Condition
- func (in *Condition) DeepCopyInto(out *Condition)
- func (*Condition) Descriptor() ([]byte, []int)
- func (m *Condition) Marshal() (dAtA []byte, err error)
- func (m *Condition) MarshalTo(dAtA []byte) (int, error)
- func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) Size() (n int)
- func (this *Condition) String() string
- func (m *Condition) Unmarshal(dAtA []byte) error
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type EdgeLabel
- type HealthCheckSpec
- func (in *HealthCheckSpec) DeepCopy() *HealthCheckSpec
- func (in *HealthCheckSpec) DeepCopyInto(out *HealthCheckSpec)
- func (*HealthCheckSpec) Descriptor() ([]byte, []int)
- func (m *HealthCheckSpec) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *HealthCheckSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HealthCheckSpec) ProtoMessage()
- func (m *HealthCheckSpec) Reset()
- func (m *HealthCheckSpec) Size() (n int)
- func (this *HealthCheckSpec) String() string
- func (m *HealthCheckSpec) Unmarshal(dAtA []byte) error
- func (m *HealthCheckSpec) XXX_DiscardUnknown()
- func (m *HealthCheckSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckSpec) XXX_Merge(src proto.Message)
- func (m *HealthCheckSpec) XXX_Size() int
- func (m *HealthCheckSpec) XXX_Unmarshal(b []byte) error
- type HostingProvider
- type OID
- type ObjectID
- func (in *ObjectID) DeepCopy() *ObjectID
- func (in *ObjectID) DeepCopyInto(out *ObjectID)
- func (*ObjectID) Descriptor() ([]byte, []int)
- func (oid *ObjectID) GroupKind() schema.GroupKind
- func (m *ObjectID) Marshal() (dAtA []byte, err error)
- func (m *ObjectID) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (oid *ObjectID) MetaGroupKind() metav1.GroupKind
- func (oid *ObjectID) OID() OID
- func (oid *ObjectID) ObjectKey() client.ObjectKey
- func (oid *ObjectID) ObjectReference() ObjectReference
- func (*ObjectID) ProtoMessage()
- func (m *ObjectID) Reset()
- func (m *ObjectID) Size() (n int)
- func (this *ObjectID) String() string
- func (m *ObjectID) Unmarshal(dAtA []byte) error
- func (oid *ObjectID) WithNamespace(fallback string) *ObjectID
- func (m *ObjectID) XXX_DiscardUnknown()
- func (m *ObjectID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectID) XXX_Merge(src proto.Message)
- func (m *ObjectID) XXX_Size() int
- func (m *ObjectID) XXX_Unmarshal(b []byte) error
- type ObjectInfo
- func (in *ObjectInfo) DeepCopy() *ObjectInfo
- func (in *ObjectInfo) DeepCopyInto(out *ObjectInfo)
- func (*ObjectInfo) Descriptor() ([]byte, []int)
- func (m *ObjectInfo) Marshal() (dAtA []byte, err error)
- func (m *ObjectInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectInfo) ProtoMessage()
- func (m *ObjectInfo) Reset()
- func (m *ObjectInfo) Size() (n int)
- func (this *ObjectInfo) String() string
- func (m *ObjectInfo) Unmarshal(dAtA []byte) error
- func (m *ObjectInfo) XXX_DiscardUnknown()
- func (m *ObjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectInfo) XXX_Merge(src proto.Message)
- func (m *ObjectInfo) XXX_Size() int
- func (m *ObjectInfo) XXX_Unmarshal(b []byte) error
- type ObjectReference
- func (in *ObjectReference) DeepCopy() *ObjectReference
- func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
- func (*ObjectReference) Descriptor() ([]byte, []int)
- func (m *ObjectReference) Marshal() (dAtA []byte, err error)
- func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (ref ObjectReference) ObjectKey() client.ObjectKey
- func (*ObjectReference) ProtoMessage()
- func (m *ObjectReference) Reset()
- func (m *ObjectReference) Size() (n int)
- func (this *ObjectReference) String() string
- func (m *ObjectReference) Unmarshal(dAtA []byte) error
- func (ref *ObjectReference) WithNamespace(fallback string) *ObjectReference
- func (m *ObjectReference) XXX_DiscardUnknown()
- func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectReference) XXX_Merge(src proto.Message)
- func (m *ObjectReference) XXX_Size() int
- func (m *ObjectReference) XXX_Unmarshal(b []byte) error
- type PrivateKeyEncoding
- type ReadonlyHealthCheckSpec
- func (in *ReadonlyHealthCheckSpec) DeepCopy() *ReadonlyHealthCheckSpec
- func (in *ReadonlyHealthCheckSpec) DeepCopyInto(out *ReadonlyHealthCheckSpec)
- func (*ReadonlyHealthCheckSpec) Descriptor() ([]byte, []int)
- func (m *ReadonlyHealthCheckSpec) Marshal() (dAtA []byte, err error)
- func (m *ReadonlyHealthCheckSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadonlyHealthCheckSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadonlyHealthCheckSpec) ProtoMessage()
- func (m *ReadonlyHealthCheckSpec) Reset()
- func (m *ReadonlyHealthCheckSpec) Size() (n int)
- func (this *ReadonlyHealthCheckSpec) String() string
- func (m *ReadonlyHealthCheckSpec) Unmarshal(dAtA []byte) error
- func (m *ReadonlyHealthCheckSpec) XXX_DiscardUnknown()
- func (m *ReadonlyHealthCheckSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadonlyHealthCheckSpec) XXX_Merge(src proto.Message)
- func (m *ReadonlyHealthCheckSpec) XXX_Size() int
- func (m *ReadonlyHealthCheckSpec) XXX_Unmarshal(b []byte) error
- type ResourceID
- func (in *ResourceID) DeepCopy() *ResourceID
- func (in *ResourceID) DeepCopyInto(out *ResourceID)
- func (*ResourceID) Descriptor() ([]byte, []int)
- func (r ResourceID) GroupKind() schema.GroupKind
- func (r ResourceID) GroupResource() schema.GroupResource
- func (r ResourceID) GroupVersion() schema.GroupVersion
- func (r ResourceID) GroupVersionKind() schema.GroupVersionKind
- func (r ResourceID) GroupVersionResource() schema.GroupVersionResource
- func (m *ResourceID) Marshal() (dAtA []byte, err error)
- func (m *ResourceID) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (r ResourceID) MetaGVK() metav1.GroupVersionKind
- func (r ResourceID) MetaGVR() metav1.GroupVersionResource
- func (*ResourceID) ProtoMessage()
- func (m *ResourceID) Reset()
- func (m *ResourceID) Size() (n int)
- func (this *ResourceID) String() string
- func (r ResourceID) TypeMeta() metav1.TypeMeta
- func (m *ResourceID) Unmarshal(dAtA []byte) error
- func (m *ResourceID) XXX_DiscardUnknown()
- func (m *ResourceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceID) XXX_Merge(src proto.Message)
- func (m *ResourceID) XXX_Size() int
- func (m *ResourceID) XXX_Unmarshal(b []byte) error
- type ResourceScope
- type TLSConfig
- func (in *TLSConfig) DeepCopy() *TLSConfig
- func (in *TLSConfig) DeepCopyInto(out *TLSConfig)
- func (*TLSConfig) Descriptor() ([]byte, []int)
- func (m *TLSConfig) Marshal() (dAtA []byte, err error)
- func (m *TLSConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSConfig) ProtoMessage()
- func (m *TLSConfig) Reset()
- func (m *TLSConfig) Size() (n int)
- func (this *TLSConfig) String() string
- func (m *TLSConfig) Unmarshal(dAtA []byte) error
- func (m *TLSConfig) XXX_DiscardUnknown()
- func (m *TLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSConfig) XXX_Merge(src proto.Message)
- func (m *TLSConfig) XXX_Size() int
- func (m *TLSConfig) XXX_Unmarshal(b []byte) error
- type TimeOfDay
- func (t *TimeOfDay) Before(u *TimeOfDay) bool
- func (t TimeOfDay) Copy() TimeOfDay
- func (in *TimeOfDay) DeepCopy() *TimeOfDay
- func (t *TimeOfDay) DeepCopyInto(out *TimeOfDay)
- func (*TimeOfDay) Descriptor() ([]byte, []int)
- func (t *TimeOfDay) Equal(u *TimeOfDay) bool
- func (t *TimeOfDay) Fuzz(c fuzz.Continue)
- func (t *TimeOfDay) IsZero() bool
- func (t TimeOfDay) MarshalJSON() ([]byte, error)
- func (t TimeOfDay) MarshalQueryParameter() (string, error)
- func (_ TimeOfDay) OpenAPISchemaFormat() string
- func (_ TimeOfDay) OpenAPISchemaType() []string
- func (*TimeOfDay) ProtoMessage()
- func (m *TimeOfDay) Reset()
- func (t TimeOfDay) ToUnstructured() interface{}
- func (t *TimeOfDay) UnmarshalJSON(b []byte) error
- func (t *TimeOfDay) UnmarshalQueryParameter(str string) error
- func (m *TimeOfDay) XXX_DiscardUnknown()
- func (m *TimeOfDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeOfDay) XXX_Merge(src proto.Message)
- func (m *TimeOfDay) XXX_Size() int
- func (m *TimeOfDay) XXX_Unmarshal(b []byte) error
- type TypedObjectReference
- func (in *TypedObjectReference) DeepCopy() *TypedObjectReference
- func (in *TypedObjectReference) DeepCopyInto(out *TypedObjectReference)
- func (*TypedObjectReference) Descriptor() ([]byte, []int)
- func (m *TypedObjectReference) Marshal() (dAtA []byte, err error)
- func (m *TypedObjectReference) MarshalTo(dAtA []byte) (int, error)
- func (m *TypedObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TypedObjectReference) ProtoMessage()
- func (m *TypedObjectReference) Reset()
- func (m *TypedObjectReference) Size() (n int)
- func (this *TypedObjectReference) String() string
- func (m *TypedObjectReference) Unmarshal(dAtA []byte) error
- func (m *TypedObjectReference) XXX_DiscardUnknown()
- func (m *TypedObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypedObjectReference) XXX_Merge(src proto.Message)
- func (m *TypedObjectReference) XXX_Size() int
- func (m *TypedObjectReference) XXX_Unmarshal(b []byte) error
- type X509Subject
- func (in *X509Subject) DeepCopy() *X509Subject
- func (in *X509Subject) DeepCopyInto(out *X509Subject)
- func (*X509Subject) Descriptor() ([]byte, []int)
- func (m *X509Subject) Marshal() (dAtA []byte, err error)
- func (m *X509Subject) MarshalTo(dAtA []byte) (int, error)
- func (m *X509Subject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*X509Subject) ProtoMessage()
- func (m *X509Subject) Reset()
- func (m *X509Subject) Size() (n int)
- func (this *X509Subject) String() string
- func (m *X509Subject) Unmarshal(dAtA []byte) error
- func (m *X509Subject) XXX_DiscardUnknown()
- func (m *X509Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *X509Subject) XXX_Merge(src proto.Message)
- func (m *X509Subject) XXX_Size() int
- func (m *X509Subject) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ClusterNameKey string = "cluster.appscode.com/name" ClusterDisplayNameKey string = "cluster.appscode.com/display-name" ClusterProviderNameKey string = "cluster.appscode.com/provider" )
const ( ConditionProgressing = "Progressing" ConditionInitialized = "Initialized" ConditionReady = "Ready" ConditionAvailable = "Available" ConditionFailed = "Failed" ConditionRequestApproved = "Approved" ConditionRequestDenied = "Denied" )
List of common condition types
Variables ¶
Functions ¶
func EqualsGVK ¶
func EqualsGVK(a schema.GroupVersionKind, b metav1.GroupVersionKind) bool
func EqualsGVR ¶
func EqualsGVR(a schema.GroupVersionResource, b metav1.GroupVersionResource) bool
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 FromMetaGVK ¶
func FromMetaGVK(in metav1.GroupVersionKind) schema.GroupVersionKind
func FromMetaGVR ¶
func FromMetaGVR(in metav1.GroupVersionResource) schema.GroupVersionResource
func GetCertificateSecretName ¶
func GetCertificateSecretName(certificates []CertificateSpec, alias string) (string, bool)
GetCertificateSecretName returns the name of secret for a certificate alias.
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 HasCondition ¶
HasCondition returns "true" if the desired condition provided in "condType" is present in the condition list. Otherwise, it returns "false".
func IsConditionFalse ¶
IsConditionFalse returns "true" if the desired condition is in false state. It returns "false" if the desired condition is not in "false" state or is not in the condition list.
func IsConditionTrue ¶
IsConditionTrue returns "true" if the desired condition is in true state. It returns "false" if the desired condition is not in "true" state or is not in the condition list.
func IsConditionUnknown ¶
IsConditionUnknown returns "true" if the desired condition is in unknown state. It returns "false" if the desired condition is not in "unknown" state or is not in the condition list.
func ObjectIDMap ¶
func ToMetaGVK ¶
func ToMetaGVK(in schema.GroupVersionKind) metav1.GroupVersionKind
func ToMetaGVR ¶
func ToMetaGVR(in schema.GroupVersionResource) metav1.GroupVersionResource
Types ¶
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 ¶
func (in *CertificatePrivateKey) DeepCopy() *CertificatePrivateKey
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) 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 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"` }
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) 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) 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 conditions can be // useful (see .node.status.conditions), the ability to deconflict is important. // +required Type string `json:"type" protobuf:"bytes,1,opt,name=type"` // Status of the condition, one of True, False, Unknown. // +required Status core.ConditionStatus `json:"status" protobuf:"bytes,2,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"` // 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. // +required LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,4,opt,name=lastTransitionTime"` // The reason for the condition's last transition in CamelCase. // The specific API may choose whether or not this field is considered a guaranteed API. // This field may not be empty. // +required Reason string `json:"reason" protobuf:"bytes,5,opt,name=reason"` // A human readable message indicating details about the transition. // This field may be empty. // +required Message string `json:"message" protobuf:"bytes,6,opt,name=message"` }
func GetCondition ¶
GetCondition returns a pointer to the desired condition referred by "condType". Otherwise, it returns nil.
func NewCondition ¶
func RemoveCondition ¶
RemoveCondition remove a condition from the condition list referred by "condType" parameter.
func SetCondition ¶
SetCondition add/update the desired condition to the condition list. It does nothing if the condition is already in its desired state.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Condition) Descriptor ¶
func (*Condition) MarshalToSizedBuffer ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) XXX_DiscardUnknown ¶
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶
func (*Condition) XXX_Unmarshal ¶
type EdgeLabel ¶
type EdgeLabel string
+kubebuilder:validation:Enum=auth_via;backup_via;catalog;connect_via;exposed_by;monitored_by;offshoot;restore_into;scaled_by;view;cert_issuer;policy;recommended_for;ops
const ( EdgeAuthVia EdgeLabel = "auth_via" EdgeBackupVia EdgeLabel = "backup_via" EdgeCatalog EdgeLabel = "catalog" EdgeConnectVia EdgeLabel = "connect_via" EdgeExposedBy EdgeLabel = "exposed_by" EdgeMonitoredBy EdgeLabel = "monitored_by" EdgeOffshoot EdgeLabel = "offshoot" EdgeRestoreInto EdgeLabel = "restore_into" EdgeScaledBy EdgeLabel = "scaled_by" EdgeView EdgeLabel = "view" EdgeCertIssuer EdgeLabel = "cert_issuer" EdgePolicy EdgeLabel = "policy" EdgeOps EdgeLabel = "ops" EdgeRecommendedFor EdgeLabel = "recommended_for" )
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;Private
const ( HostingProviderAWS HostingProvider = "Aws" HostingProviderAzure HostingProvider = "Azure" HostingProviderDigitalOcean HostingProvider = "DigitalOcean" HostingProviderGoogleCloud HostingProvider = "GoogleCloud" HostingProviderLinode HostingProvider = "Linode" HostingProviderPacket HostingProvider = "Packet" HostingProviderScaleway HostingProvider = "Scaleway" HostingProviderVultr HostingProvider = "Vultr" HostingProviderBareMetal HostingProvider = "BareMetal" HostingProviderKIND HostingProvider = "KIND" HostingProviderGeneric HostingProvider = "Generic" HostingProviderPrivate HostingProvider = "Private" )
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 NewObjectID ¶
func ParseObjectID ¶
func (*ObjectID) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectID.
func (*ObjectID) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectID) Descriptor ¶
func (*ObjectID) MarshalToSizedBuffer ¶
func (*ObjectID) MetaGroupKind ¶
func (*ObjectID) ObjectReference ¶
func (oid *ObjectID) ObjectReference() ObjectReference
func (*ObjectID) ProtoMessage ¶
func (*ObjectID) ProtoMessage()
func (*ObjectID) WithNamespace ¶
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 (*ObjectID) XXX_Unmarshal ¶
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) 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) 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 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
func (in *ReadonlyHealthCheckSpec) DeepCopy() *ReadonlyHealthCheckSpec
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" 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" protobuf:"bytes,3,opt,name=name"` // Kind is the serialized kind of the resource. It is normally CamelCase and singular. Kind string `json:"kind" protobuf:"bytes,4,opt,name=kind"` Scope ResourceScope `json:"scope" 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) Marshal ¶
func (m *ResourceID) Marshal() (dAtA []byte, err 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 (r ResourceID) MetaGVR() metav1.GroupVersionResource
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
func (*TLSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSConfig) Descriptor ¶
func (*TLSConfig) MarshalToSizedBuffer ¶
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) XXX_DiscardUnknown ¶
func (m *TLSConfig) XXX_DiscardUnknown()
func (*TLSConfig) XXX_Marshal ¶
func (*TLSConfig) XXX_Unmarshal ¶
type TimeOfDay ¶
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 ¶
Date returns the TimeOfDay corresponding to the supplied parameters by wrapping time.Date.
func NewTimeInLocation ¶
NewTimeInLocation returns a wrapped instance of the provided time according to location
func (*TimeOfDay) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeOfDay.
func (*TimeOfDay) DeepCopyInto ¶
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) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (TimeOfDay) MarshalQueryParameter ¶
MarshalQueryParameter converts to a URL query parameter value
func (TimeOfDay) OpenAPISchemaFormat ¶
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (TimeOfDay) OpenAPISchemaType ¶
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) ToUnstructured ¶
func (t TimeOfDay) ToUnstructured() interface{}
ToUnstructured implements the value.UnstructuredConverter interface.
func (*TimeOfDay) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface.
func (*TimeOfDay) UnmarshalQueryParameter ¶
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 (*TimeOfDay) XXX_Unmarshal ¶
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 ¶
func (in *TypedObjectReference) DeepCopy() *TypedObjectReference
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) 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