v1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 43

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=admin.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=admin.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=admin.rio.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateResourceName   = "certificates"
	ClusterDomainResourceName = "clusterdomains"
	PublicDomainResourceName  = "publicdomains"
	RioInfoResourceName       = "rioinfos"
	SystemStackResourceName   = "systemstacks"
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	CertificateConditionReady = condition.Cond("Ready")
)
View Source
var (
	ClusterDomainConditionReady = condition.Cond("Ready")
)
View Source
var (
	RioInfoReady = condition.Cond("Ready")
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: admin.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Address

type Address struct {
	IP       string `json:"ip,omitempty"`
	Hostname string `json:"hostname,omitempty"`
}

func (*Address) DeepCopy

func (in *Address) DeepCopy() *Address

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

func (*Address) DeepCopyInto

func (in *Address) DeepCopyInto(out *Address)

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

type Certificate added in v0.8.0

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

	Spec   CertificateSpec   `json:"spec,omitempty"`
	Status CertificateStatus `json:"status,omitempty"`
}

Certificate is an admin group which manages letsencrypt certificates that are used by ClusterDomain and PublicDomain

func NewCertificate added in v0.8.0

func NewCertificate(namespace, name string, obj Certificate) *Certificate

func (*Certificate) DeepCopy added in v0.8.0

func (in *Certificate) DeepCopy() *Certificate

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

func (*Certificate) DeepCopyInto added in v0.8.0

func (in *Certificate) DeepCopyInto(out *Certificate)

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

func (*Certificate) DeepCopyObject added in v0.8.0

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

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

type CertificateList added in v0.8.0

type CertificateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Certificate `json:"items"`
}

CertificateList is a list of Certificate resources

func (*CertificateList) DeepCopy added in v0.8.0

func (in *CertificateList) DeepCopy() *CertificateList

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

func (*CertificateList) DeepCopyInto added in v0.8.0

func (in *CertificateList) DeepCopyInto(out *CertificateList)

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

func (*CertificateList) DeepCopyObject added in v0.8.0

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

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

type CertificateSpec added in v0.8.0

type CertificateSpec struct {
	// SecretRef holds secret reference that stores tls.key and tls.crt
	SecretRef v1.SecretReference `json:"secretRef,omitempty"`

	// DNSNames store SANs used by certificate
	DNSNames []string `json:"dnsNames,omitempty"`
}

func (*CertificateSpec) DeepCopy added in v0.8.0

func (in *CertificateSpec) DeepCopy() *CertificateSpec

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

func (*CertificateSpec) DeepCopyInto added in v0.8.0

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

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

type CertificateStatus added in v0.8.0

type CertificateStatus struct {
	Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`
}

func (*CertificateStatus) DeepCopy added in v0.8.0

func (in *CertificateStatus) DeepCopy() *CertificateStatus

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

func (*CertificateStatus) DeepCopyInto added in v0.8.0

func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus)

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

type ClusterDomain

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

	Spec   ClusterDomainSpec   `json:"spec,omitempty"`
	Status ClusterDomainStatus `json:"status,omitempty"`
}

func NewClusterDomain

func NewClusterDomain(namespace, name string, obj ClusterDomain) *ClusterDomain

func (*ClusterDomain) DeepCopy

func (in *ClusterDomain) DeepCopy() *ClusterDomain

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

func (*ClusterDomain) DeepCopyInto

func (in *ClusterDomain) DeepCopyInto(out *ClusterDomain)

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

func (*ClusterDomain) DeepCopyObject

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

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

type ClusterDomainList

type ClusterDomainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ClusterDomain `json:"items"`
}

ClusterDomainList is a list of ClusterDomain resources

func (*ClusterDomainList) DeepCopy

func (in *ClusterDomainList) DeepCopy() *ClusterDomainList

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

func (*ClusterDomainList) DeepCopyInto

func (in *ClusterDomainList) DeepCopyInto(out *ClusterDomainList)

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

func (*ClusterDomainList) DeepCopyObject

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

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

type ClusterDomainSpec

type ClusterDomainSpec struct {
	// SecretName holding the TLS certificate for this domain.  This is expected
	// to be a wildcard certificate
	SecretName string `json:"secretName,omitempty"`

	// The public HTTPS port for the cluster domain
	HTTPSPort int `json:"httpsPort,omitempty"`
	// The public HTTP port for the cluster domain
	HTTPPort int `json:"httpPort,omitempty"`

	// The addresses assigned to the ClusterDomain by the provider
	Addresses []Address `json:"addresses,omitempty"`
}

func (*ClusterDomainSpec) DeepCopy

func (in *ClusterDomainSpec) DeepCopy() *ClusterDomainSpec

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

func (*ClusterDomainSpec) DeepCopyInto

func (in *ClusterDomainSpec) DeepCopyInto(out *ClusterDomainSpec)

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

type ClusterDomainStatus

type ClusterDomainStatus struct {
	AssignedSecretName string                              `json:"assignedSecretName,omitempty"`
	HTTPSSupported     bool                                `json:"httpsSupported,omitempty"`
	Conditions         []genericcondition.GenericCondition `json:"conditions,omitempty"`
}

func (*ClusterDomainStatus) DeepCopy

func (in *ClusterDomainStatus) DeepCopy() *ClusterDomainStatus

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

func (*ClusterDomainStatus) DeepCopyInto

func (in *ClusterDomainStatus) DeepCopyInto(out *ClusterDomainStatus)

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

type PublicDomain

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

	Spec   PublicDomainSpec   `json:"spec,omitempty"`
	Status PublicDomainStatus `json:"status,omitempty"`
}

PublicDomain is a top-level resource which allows a user to access its own public domain for the services inside cluster. It can be pointed to a Router or a Service. It is the user's responsibility to setup a CNAME or A record to the clusterDomain or ingress IP.

func NewPublicDomain

func NewPublicDomain(namespace, name string, obj PublicDomain) *PublicDomain

func (*PublicDomain) DeepCopy

func (in *PublicDomain) DeepCopy() *PublicDomain

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

func (*PublicDomain) DeepCopyInto

func (in *PublicDomain) DeepCopyInto(out *PublicDomain)

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

func (*PublicDomain) DeepCopyObject

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

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

type PublicDomainList

type PublicDomainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []PublicDomain `json:"items"`
}

PublicDomainList is a list of PublicDomain resources

func (*PublicDomainList) DeepCopy

func (in *PublicDomainList) DeepCopy() *PublicDomainList

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

func (*PublicDomainList) DeepCopyInto

func (in *PublicDomainList) DeepCopyInto(out *PublicDomainList)

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

func (*PublicDomainList) DeepCopyObject

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

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

type PublicDomainSpec

type PublicDomainSpec struct {
	// SecretName holding the TLS certificate for this domain.
	SecretName string `json:"secretName,omitempty"`

	// Target App Name.  Only TargetAppName or TargetRouter can be set
	TargetApp string `json:"targetApp,omitempty"`

	// Target Router Name.  Only TargetAppName or TargetRouter can be set
	TargetRouter string `json:"targetRouter,omitempty"`

	// Target Version
	TargetVersion string `json:"targetVersion,omitempty"`

	// Target Service or Router Namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`
}

func (*PublicDomainSpec) DeepCopy

func (in *PublicDomainSpec) DeepCopy() *PublicDomainSpec

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

func (*PublicDomainSpec) DeepCopyInto

func (in *PublicDomainSpec) DeepCopyInto(out *PublicDomainSpec)

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

type PublicDomainStatus

type PublicDomainStatus struct {
	// Whether HTTP is supported in the Domain
	HTTPSSupported bool `json:"httpsSupported,omitempty"`

	// Secret containing TLS cert for HTTPS
	AssignedSecretName string `json:"assignedSecretName,omitempty"`

	// Represents the latest available observations of a PublicDomain's current state.
	Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`
}

func (*PublicDomainStatus) DeepCopy

func (in *PublicDomainStatus) DeepCopy() *PublicDomainStatus

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

func (*PublicDomainStatus) DeepCopyInto

func (in *PublicDomainStatus) DeepCopyInto(out *PublicDomainStatus)

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

type RioInfo

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

	Status RioInfoStatus `json:"status,omitempty"`
}

func NewRioInfo

func NewRioInfo(namespace, name string, obj RioInfo) *RioInfo

func (*RioInfo) DeepCopy

func (in *RioInfo) DeepCopy() *RioInfo

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

func (*RioInfo) DeepCopyInto

func (in *RioInfo) DeepCopyInto(out *RioInfo)

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

func (*RioInfo) DeepCopyObject

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

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

type RioInfoList

type RioInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []RioInfo `json:"items"`
}

RioInfoList is a list of RioInfo resources

func (*RioInfoList) DeepCopy

func (in *RioInfoList) DeepCopy() *RioInfoList

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

func (*RioInfoList) DeepCopyInto

func (in *RioInfoList) DeepCopyInto(out *RioInfoList)

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

func (*RioInfoList) DeepCopyObject

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

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

type RioInfoStatus

type RioInfoStatus struct {
	Version                 string                              `json:"version,omitempty"`
	GitCommit               string                              `json:"gitCommit,omitempty"`
	SystemNamespace         string                              `json:"systemNamespace,omitempty"`
	Conditions              []genericcondition.GenericCondition `json:"conditions,omitempty"`
	SystemComponentReadyMap map[string]string                   `json:"systemComponentReadyMap,omitempty"`
	EnabledFeatures         []string                            `json:"enabledFeatures,omitempty"`
}

func (*RioInfoStatus) DeepCopy

func (in *RioInfoStatus) DeepCopy() *RioInfoStatus

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

func (*RioInfoStatus) DeepCopyInto

func (in *RioInfoStatus) DeepCopyInto(out *RioInfoStatus)

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

type SystemStack added in v0.6.0

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

func NewSystemStack added in v0.6.0

func NewSystemStack(namespace, name string, obj SystemStack) *SystemStack

func (*SystemStack) DeepCopy added in v0.6.0

func (in *SystemStack) DeepCopy() *SystemStack

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

func (*SystemStack) DeepCopyInto added in v0.6.0

func (in *SystemStack) DeepCopyInto(out *SystemStack)

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

func (*SystemStack) DeepCopyObject added in v0.6.0

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

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

type SystemStackList added in v0.6.0

type SystemStackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []SystemStack `json:"items"`
}

SystemStackList is a list of SystemStack resources

func (*SystemStackList) DeepCopy added in v0.6.0

func (in *SystemStackList) DeepCopy() *SystemStackList

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

func (*SystemStackList) DeepCopyInto added in v0.6.0

func (in *SystemStackList) DeepCopyInto(out *SystemStackList)

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

func (*SystemStackList) DeepCopyObject added in v0.6.0

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

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

Jump to

Keyboard shortcuts

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