v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the issuers v1alpha1 API group +kubebuilder:object:generate=true +groupName=cas-issuer.jetstack.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cas-issuer.jetstack.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ConditionStatus

type ConditionStatus string

ConditionStatus represents a condition's status. +kubebuilder:validation:Enum=True;False;Unknown

const (
	// ConditionTrue represents the fact that a given condition is true
	ConditionTrue ConditionStatus = "True"

	// ConditionFalse represents the fact that a given condition is false
	ConditionFalse ConditionStatus = "False"

	// ConditionUnknown represents the fact that a given condition is unknown
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type GoogleCASClusterIssuer

type GoogleCASClusterIssuer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GoogleCASIssuerSpec   `json:"spec,omitempty"`
	Status GoogleCASIssuerStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status GoogleCASClusterIssuer is the Schema for the googlecasclusterissuers API

func (*GoogleCASClusterIssuer) DeepCopy

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

func (*GoogleCASClusterIssuer) DeepCopyInto

func (in *GoogleCASClusterIssuer) DeepCopyInto(out *GoogleCASClusterIssuer)

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

func (*GoogleCASClusterIssuer) DeepCopyObject

func (in *GoogleCASClusterIssuer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleCASClusterIssuerList

type GoogleCASClusterIssuerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GoogleCASClusterIssuer `json:"items"`
}

+kubebuilder:object:root=true GoogleCASClusterIssuerList contains a list of GoogleCASClusterIssuer

func (*GoogleCASClusterIssuerList) DeepCopy

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

func (*GoogleCASClusterIssuerList) DeepCopyInto

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

func (*GoogleCASClusterIssuerList) DeepCopyObject

func (in *GoogleCASClusterIssuerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleCASIssuer

type GoogleCASIssuer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GoogleCASIssuerSpec   `json:"spec,omitempty"`
	Status GoogleCASIssuerStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status GoogleCASIssuer is the Schema for the googlecasissuers API

func (*GoogleCASIssuer) DeepCopy

func (in *GoogleCASIssuer) DeepCopy() *GoogleCASIssuer

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

func (*GoogleCASIssuer) DeepCopyInto

func (in *GoogleCASIssuer) DeepCopyInto(out *GoogleCASIssuer)

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

func (*GoogleCASIssuer) DeepCopyObject

func (in *GoogleCASIssuer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleCASIssuerCondition

type GoogleCASIssuerCondition struct {
	// Type of the condition, currently ('Ready').
	Type GoogleCASIssuerConditionType `json:"type"`

	// Status of the condition, one of ('True', 'False', 'Unknown').
	// +kubebuilder:validation:Enum=True;False;Unknown
	Status ConditionStatus `json:"status"`

	// LastTransitionTime is the timestamp corresponding to the last status
	// change of this condition.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`

	// Reason is a brief machine readable explanation for the condition's last
	// transition.
	// +optional
	Reason string `json:"reason,omitempty"`

	// Message is a human readable description of the details of the last
	// transition, complementing reason.
	// +optional
	Message string `json:"message,omitempty"`
}

IssuerCondition contains condition information for a CAS Issuer.

func (*GoogleCASIssuerCondition) DeepCopy

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

func (*GoogleCASIssuerCondition) DeepCopyInto

func (in *GoogleCASIssuerCondition) DeepCopyInto(out *GoogleCASIssuerCondition)

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

type GoogleCASIssuerConditionType

type GoogleCASIssuerConditionType string

+kubebuilder:validation:Enum=Ready

const (
	// IssuerConditionReady indicates that a CAS Issuer is ready for use.
	// This is defined as:
	IssuerConditionReady GoogleCASIssuerConditionType = "Ready"
)

type GoogleCASIssuerList

type GoogleCASIssuerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GoogleCASIssuer `json:"items"`
}

+kubebuilder:object:root=true GoogleCASIssuerList contains a list of GoogleCASIssuer

func (*GoogleCASIssuerList) DeepCopy

func (in *GoogleCASIssuerList) DeepCopy() *GoogleCASIssuerList

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

func (*GoogleCASIssuerList) DeepCopyInto

func (in *GoogleCASIssuerList) DeepCopyInto(out *GoogleCASIssuerList)

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

func (*GoogleCASIssuerList) DeepCopyObject

func (in *GoogleCASIssuerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleCASIssuerSpec

type GoogleCASIssuerSpec struct {

	// Project is the Google Cloud Project ID
	Project string `json:"project,omitempty"`

	// Location is the Google Cloud Project Location
	Location string `json:"location,omitempty"`

	// CertificateAuthorityID is The ID of the Google Private certificate authority that will sign certificates
	CertificateAuthorityID string `json:"certificateAuthorityID,omitempty"`

	// Credentials is a reference to a Kubernetes Secret Key that contains Google Service Account Credentials
	// +optional
	Credentials cmmetav1.SecretKeySelector `json:"credentials,omitempty"`
}

GoogleCASIssuerSpec defines the desired state of GoogleCASIssuer

func (*GoogleCASIssuerSpec) DeepCopy

func (in *GoogleCASIssuerSpec) DeepCopy() *GoogleCASIssuerSpec

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

func (*GoogleCASIssuerSpec) DeepCopyInto

func (in *GoogleCASIssuerSpec) DeepCopyInto(out *GoogleCASIssuerSpec)

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

type GoogleCASIssuerStatus

type GoogleCASIssuerStatus struct {

	// +optional
	Conditions []GoogleCASIssuerCondition `json:"conditions,omitempty"`
}

GoogleCASIssuerStatus defines the observed state of GoogleCASIssuer

func (*GoogleCASIssuerStatus) DeepCopy

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

func (*GoogleCASIssuerStatus) DeepCopyInto

func (in *GoogleCASIssuerStatus) DeepCopyInto(out *GoogleCASIssuerStatus)

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

Jump to

Keyboard shortcuts

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