v1

package
v0.24.9 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 20 Imported by: 1,045

Documentation

Overview

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

Index

Constants

View Source
const (
	ClusterNameKey         string = "cluster.appscode.com/name"
	ClusterDisplayNameKey  string = "cluster.appscode.com/display-name"
	ClusterProviderNameKey string = "cluster.appscode.com/provider"
)
View Source
const (
	ConditionProgressing = "Progressing"
	ConditionInitialized = "Initialized"
	ConditionReady       = "Ready"
	ConditionAvailable   = "Available"
	ConditionFailed      = "Failed"

	ConditionRequestApproved = "Approved"
	ConditionRequestDenied   = "Denied"
)

List of common condition types

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")
)

Functions

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 HasCondition

func HasCondition(conditions []Condition, condType string) bool

HasCondition returns "true" if the desired condition provided in "condType" is present in the condition list. Otherwise, it returns "false".

func IsConditionFalse

func IsConditionFalse(conditions []Condition, condType string) bool

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

func IsConditionTrue(conditions []Condition, condType string) bool

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

func IsConditionUnknown(conditions []Condition, condType string) bool

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 ObjectIDMap(key OID) (map[string]interface{}, error)

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

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 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) 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) 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

func GetCondition(conditions []Condition, condType string) (int, *Condition)

GetCondition returns a pointer to the desired condition referred by "condType". Otherwise, it returns nil.

func NewCondition

func NewCondition(reason string, message string, generation int64, conditionStatus ...bool) Condition

func RemoveCondition

func RemoveCondition(conditions []Condition, condType string) []Condition

RemoveCondition remove a condition from the condition list referred by "condType" parameter.

func SetCondition

func SetCondition(conditions []Condition, newCondition Condition) []Condition

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

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 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

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"
)

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 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 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 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" 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) 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