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 ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Address
- type ClusterDomain
- type ClusterDomainList
- type ClusterDomainSpec
- type ClusterDomainStatus
- type Feature
- type FeatureList
- type FeatureSpec
- type FeatureStatus
- type PublicDomain
- type PublicDomainList
- type PublicDomainSpec
- type PublicDomainStatus
- type RioInfo
- type RioInfoList
- type RioInfoStatus
- type Subdomain
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var (
ClusterDomainConditionReady = condition.Cond("Ready")
)
var (
FeatureConditionEnabled = condition.Cond("Enabled")
)
var (
RioInfoReady = condition.Cond("Ready")
)
var SchemeGroupVersion = schema.GroupVersion{Group: admin.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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"`
}
func (*Address) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Address.
func (*Address) DeepCopyInto ¶
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 { SecretRef v1.SecretReference `json:"secretRef,omitempty"` Addresses []Address `json:"addresses,omitempty"` Subdomains []Subdomain `json:"subdomains,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,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 { HTTPSSupported bool `json:"httpsSupported,omitempty"` ClusterDomain string `json:"domain,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 Feature ¶
type Feature struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FeatureSpec `json:"spec,omitempty"` Status FeatureStatus `json:"status,omitempty"` }
func NewFeature ¶
func (*Feature) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Feature) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureList ¶
type FeatureList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Feature `json:"items"` }
FeatureList is a list of Feature resources
func (*FeatureList) DeepCopy ¶
func (in *FeatureList) DeepCopy() *FeatureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureList.
func (*FeatureList) DeepCopyInto ¶
func (in *FeatureList) DeepCopyInto(out *FeatureList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureList) DeepCopyObject ¶
func (in *FeatureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureSpec ¶
type FeatureSpec struct { Description string `json:"description,omitempty"` Enabled bool `json:"enable,omitempty"` Questions []v1.Question `json:"questions,omitempty"` Answers map[string]string `json:"answers,omitempty"` Requires []string `json:"features,omitempty"` }
func (*FeatureSpec) DeepCopy ¶
func (in *FeatureSpec) DeepCopy() *FeatureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSpec.
func (*FeatureSpec) DeepCopyInto ¶
func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureStatus ¶
type FeatureStatus struct { EnableOverride *bool `json:"enableOverride,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` }
func (*FeatureStatus) DeepCopy ¶
func (in *FeatureStatus) DeepCopy() *FeatureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureStatus.
func (*FeatureStatus) DeepCopyInto ¶
func (in *FeatureStatus) DeepCopyInto(out *FeatureStatus)
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,inline"` Status PublicDomainStatus `json:"status,inline"` }
PublicDomain is a top-level resource to allow user to its own public domain for the services inside cluster. It can be pointed to Router or Service. It is 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 { // SecretRef reference the secret that contains key and certs for TLS configuration. By default it is configured to use Letsencrypt SecretRef v1.SecretReference `json:"secretRef,omitempty"` // Whether to disable Letsencrypt certificates. DisableLetsencrypt bool `json:"disableLetsencrypt,omitempty"` // Target Service Name in the same Namespace TargetServiceName string `json:"targetServiceName,omitempty"` // PublicDomain name DomainName string `json:"domainName,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"` // Letsencrypt issuer name IssuerName string `json:"issuerName,omitempty"` // Endpoint to access this Domain Endpoint string `json:"endpoint,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 (*RioInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RioInfo.
func (*RioInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RioInfo) DeepCopyObject ¶
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"` BuildkitPodName string `json:"buildkitPodName,omitempty"` SocatPodName string `json:"socatPodName,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 Subdomain ¶
type Subdomain struct { Name string `json:"name,omitempty"` Addresses []Address `json:"addresses,omitempty"` }
func (*Subdomain) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subdomain.
func (*Subdomain) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.