...

Package v1alpha1

import "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/generate-go-crd-clients/k8s/v1alpha1"
Overview
Index

Overview ▾

+groupName=k8s.cnrm.cloud.google.com

Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:openapi-gen=false +k8s:deepcopy-gen= +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s +k8s:defaulter-gen=TypeMeta +groupName=k8s.cnrm.cloud.google.com

Constants

const (
    ReadyConditionType = "Ready"
)

Variables

var (
    // SchemeGroupVersion is group version used to register these objects
    SchemeGroupVersion = schema.GroupVersion{Group: "k8s.cnrm.cloud.google.com", Version: "v1alpha1"}

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

    // AddToScheme is a global function that registers this API group & version to a scheme
    AddToScheme = SchemeBuilder.AddToScheme
)

type Condition

type Condition struct {
    // Last time the condition transitioned from one status to another.
    LastTransitionTime string `json:"lastTransitionTime,omitempty"`

    // Human-readable message indicating details about last transition.
    Message string `json:"message,omitempty"`

    // Unique, one-word, CamelCase reason for the condition's last
    // transition.
    Reason string `json:"reason,omitempty"`

    // Status is the status of the condition. Can be True, False, Unknown.
    Status v1.ConditionStatus `json:"status,omitempty"`

    // Type is the type of the condition.
    Type string `json:"type,omitempty"`
}

type IAMResourceRef

type IAMResourceRef struct {
    /* Kind of the referenced resource */
    Kind string `json:"kind"`
    /* Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
    Namespace string `json:"namespace,omitempty"`
    /* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
    Name string `json:"name,omitempty"`
    /* APIVersion of the referenced resource */
    APIVersion string `json:"apiVersion,omitempty"`
    /* The external name of the referenced resource */
    External string `json:"external,omitempty"`
}

type ResourceRef

type ResourceRef struct {
    /* The external name of the referenced resource */
    External string `json:"external,omitempty"`
    /* Kind of the referent. */
    Kind string `json:"kind,omitempty"`
    /* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */
    Name string `json:"name,omitempty"`
    /* Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */
    Namespace string `json:"namespace,omitempty"`
}