Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infra v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.nephio.org
Index ¶
- Variables
- type BridgeDomain
- type CNIConfig
- type ClusterContext
- type ClusterContextList
- type ClusterContextSpec
- type ClusterContextStatus
- type Condition
- type ConditionReason
- type ConditionType
- type ConditionedStatus
- func (in *ConditionedStatus) DeepCopy() *ConditionedStatus
- func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus)
- func (r *ConditionedStatus) Equal(other *ConditionedStatus) bool
- func (r *ConditionedStatus) GetCondition(t ConditionType) Condition
- func (r *ConditionedStatus) SetConditions(c ...Condition)
- type IPv4PrefixLengths
- type IPv6PrefixLengths
- type Interface
- type InterfaceKind
- type InterfaceUsageKind
- type Network
- type NetworkConfig
- type NetworkConfigList
- type NetworkConfigSpec
- type NetworkList
- type NetworkSpec
- type NetworkStatus
- type PrefixLengths
- type Repository
- type RepositoryList
- type RepositorySpec
- type RepositoryStatus
- type RoutingTable
- type Token
- type TokenList
- type TokenSpec
- type TokenStatus
- type TrustModel
- type WorkloadCluster
- type WorkloadClusterList
- type WorkloadClusterSpec
- type WorkloadClusterStatus
Constants ¶
This section is empty.
Variables ¶
var ( ClusterContextKind = reflect.TypeOf(ClusterContext{}).Name() ClusterContextGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: ClusterContextKind}.String() ClusterContextKindAPIVersion = ClusterContextKind + "." + GroupVersion.String() ClusterContextGroupVersionKind = GroupVersion.WithKind(ClusterContextKind) )
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infra.nephio.org", 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 )
var ( NetworkKind = reflect.TypeOf(Network{}).Name() NetworkGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: NetworkKind}.String() NetworkKindAPIVersion = NetworkKind + "." + GroupVersion.String() NetworkGroupVersionKind = GroupVersion.WithKind(NetworkKind) )
Network type metadata.
var ( NetworkConfigKind = reflect.TypeOf(NetworkConfig{}).Name() NetworkConfigGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: NetworkConfigKind}.String() NetworkConfigKindAPIVersion = NetworkConfigKind + "." + GroupVersion.String() NetworkConfigGroupVersionKind = GroupVersion.WithKind(NetworkConfigKind) )
NetworkConfig type metadata.
var ( RepositoryKind = reflect.TypeOf(Repository{}).Name() RepositoryGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: RepositoryKind}.String() RepositoryKindAPIVersion = RepositoryKind + "." + GroupVersion.String() RepositoryGroupVersionKind = GroupVersion.WithKind(RepositoryKind) )
Repository type metadata.
var ( TokenKind = reflect.TypeOf(Token{}).Name() TokenGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: TokenKind}.String() TokenKindAPIVersion = TokenKind + "." + GroupVersion.String() TokenGroupVersionKind = GroupVersion.WithKind(TokenKind) )
Token type metadata.
var ( WorkloadClusterKind = reflect.TypeOf(WorkloadCluster{}).Name() WorkloadClusterGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: WorkloadClusterKind}.String() WorkloadClusterKindAPIVersion = WorkloadClusterKind + "." + GroupVersion.String() WorkloadClusterGroupVersionKind = GroupVersion.WithKind(WorkloadClusterKind) )
Functions ¶
This section is empty.
Types ¶
type BridgeDomain ¶
type BridgeDomain struct { // Name defines the name of the bridge domain Name string `json:"name" yaml:"name"` // Interfaces defines the interfaces belonging to the bridge domain Interfaces []Interface `json:"interfaces,omitempty" yaml:"interfaces,omitempty"` }
func (*BridgeDomain) DeepCopy ¶
func (in *BridgeDomain) DeepCopy() *BridgeDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BridgeDomain.
func (*BridgeDomain) DeepCopyInto ¶
func (in *BridgeDomain) DeepCopyInto(out *BridgeDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CNIConfig ¶
type CNIConfig struct { CNIType string `json:"cniType"` MasterInterface string `json:"masterInterface"` }
func (*CNIConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIConfig.
func (*CNIConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterContext ¶
type ClusterContext struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterContextSpec `json:"spec,omitempty"` Status ClusterContextStatus `json:"status,omitempty"` }
ClusterContext is the Schema for the clustercontexts API
func (*ClusterContext) DeepCopy ¶
func (in *ClusterContext) DeepCopy() *ClusterContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContext.
func (*ClusterContext) DeepCopyInto ¶
func (in *ClusterContext) DeepCopyInto(out *ClusterContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContext) DeepCopyObject ¶
func (in *ClusterContext) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterContextList ¶
type ClusterContextList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterContext `json:"items"` }
ClusterContextList contains a list of ClusterContext
func (*ClusterContextList) DeepCopy ¶
func (in *ClusterContextList) DeepCopy() *ClusterContextList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContextList.
func (*ClusterContextList) DeepCopyInto ¶
func (in *ClusterContextList) DeepCopyInto(out *ClusterContextList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContextList) DeepCopyObject ¶
func (in *ClusterContextList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterContextSpec ¶
type ClusterContextSpec struct { // SiteCode identifies this cluster's location // +optional SiteCode *string `json:"siteCode,omitempty"` // CNIConfig contains the details of CNI configuration for this cluster // +optional CNIConfig *CNIConfig `json:"cniConfig,omitempty"` }
ClusterContextSpec defines the desired state of ClusterContext
func (*ClusterContextSpec) DeepCopy ¶
func (in *ClusterContextSpec) DeepCopy() *ClusterContextSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContextSpec.
func (*ClusterContextSpec) DeepCopyInto ¶
func (in *ClusterContextSpec) DeepCopyInto(out *ClusterContextSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContextSpec) Validate ¶
func (spec *ClusterContextSpec) Validate() error
type ClusterContextStatus ¶
type ClusterContextStatus struct { }
ClusterContextStatus defines the observed state of ClusterContext
func (*ClusterContextStatus) DeepCopy ¶
func (in *ClusterContextStatus) DeepCopy() *ClusterContextStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContextStatus.
func (*ClusterContextStatus) DeepCopyInto ¶
func (in *ClusterContextStatus) DeepCopyInto(out *ClusterContextStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
func Ready ¶
func Ready() Condition
Ready returns a condition that indicates the resource is ready for use.
func Unknown ¶
func Unknown() Condition
Unknown returns a condition that indicates the resource is in an unknown status.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Condition) Equal ¶
Equal returns true if the condition is identical to the supplied condition, ignoring the LastTransitionTime.
func (Condition) WithMessage ¶
WithMessage returns a condition by adding the provided message to existing condition.
type ConditionReason ¶
type ConditionReason string
A ConditionReason represents the reason a resource is in a condition.
const ( ConditionReasonReady ConditionReason = "Ready" ConditionReasonFailed ConditionReason = "Failed" ConditionReasonUnknown ConditionReason = "Unknown" )
Reasons a resource is ready or not
type ConditionType ¶
type ConditionType string
A ConditionType represents a condition type for a given KRM resource
const ( // ConditionTypeReady represents the resource ready condition ConditionTypeReady ConditionType = "Ready" )
Condition Types.
type ConditionedStatus ¶
type ConditionedStatus struct { // Conditions of the resource. // +optional Conditions []Condition `json:"conditions,omitempty"` }
A ConditionedStatus reflects the observed status of a resource. Only one condition of each type may exist.
func NewConditionedStatus ¶
func NewConditionedStatus(c ...Condition) *ConditionedStatus
NewConditionedStatus returns a stat with the supplied conditions set.
func (*ConditionedStatus) DeepCopy ¶
func (in *ConditionedStatus) DeepCopy() *ConditionedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionedStatus.
func (*ConditionedStatus) DeepCopyInto ¶
func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConditionedStatus) Equal ¶
func (r *ConditionedStatus) Equal(other *ConditionedStatus) bool
Equal returns true if the status is identical to the supplied status, ignoring the LastTransitionTimes and order of statuses.
func (*ConditionedStatus) GetCondition ¶
func (r *ConditionedStatus) GetCondition(t ConditionType) Condition
GetCondition returns the condition for the given ConditionKind if exists, otherwise returns nil
func (*ConditionedStatus) SetConditions ¶
func (r *ConditionedStatus) SetConditions(c ...Condition)
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identical, ignoring the last transition time, to those already set.
type IPv4PrefixLengths ¶
type IPv4PrefixLengths struct { // +kubebuilder:default:=31 InterfaceInternal *uint8 `json:"interfaceInternal,omitempty" yaml:"interfaceInternal,omitempty"` // +kubebuilder:default:=24 InterfaceExternal *uint8 `json:"interfaceExternal,omitempty" yaml:"interfaceExternal,omitempty"` // +kubebuilder:default:=16 Pool *uint8 `json:"pool,omitempty" yaml:"pool,omitempty"` }
func (*IPv4PrefixLengths) DeepCopy ¶
func (in *IPv4PrefixLengths) DeepCopy() *IPv4PrefixLengths
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv4PrefixLengths.
func (*IPv4PrefixLengths) DeepCopyInto ¶
func (in *IPv4PrefixLengths) DeepCopyInto(out *IPv4PrefixLengths)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPv6PrefixLengths ¶
type IPv6PrefixLengths struct { // +kubebuilder:default:=127 InterfaceInternal *uint8 `json:"interfaceInternal,omitempty" yaml:"interfaceInternal,omitempty"` // +kubebuilder:default:=64 InterfaceExternal *uint8 `json:"interfaceExternal,omitempty" yaml:"interfaceExternal,omitempty"` // +kubebuilder:default:=48 Pool *uint8 `json:"pool,omitempty" yaml:"pool,omitempty"` }
func (*IPv6PrefixLengths) DeepCopy ¶
func (in *IPv6PrefixLengths) DeepCopy() *IPv6PrefixLengths
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6PrefixLengths.
func (*IPv6PrefixLengths) DeepCopyInto ¶
func (in *IPv6PrefixLengths) DeepCopyInto(out *IPv6PrefixLengths)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Interface ¶
type Interface struct { // Kind defines the kind of interface. Attached to a routing table both interface and // bridgedomain interfaces are allowed. In a BridgeDomain only regular interfaces are allowed // +kubebuilder:validation:Enum=`interface`;`bridgedomain` // +kubebuilder:default=interface Kind InterfaceKind `json:"kind" yaml:"kind"` // BridgeDomainName defines the name of the bridgeDomain belonging to the interface BridgeDomainName *string `json:"bridgeDomainName,omitempty" yaml:"bridgeDomainName,omitempty"` // InterfaceName defines the name of the interface InterfaceName *string `json:"interfaceName,omitempty" yaml:"interfaceName,omitempty"` // NodeName defines the name of the node the interface belongs to interface NodeName *string `json:"nodeName,omitempty" yaml:"nodeName,omitempty"` // Selector defines the selector criterias for the interface selection Selector *metav1.LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"` // AttachmentType defines the interface attachement: vlan or none // +kubebuilder:validation:Enum=none;vlan AttachmentType reqv1alpha1.AttachmentType `json:"attachmentType,omitempty" yaml:"attachmentType,omitempty"` }
func (*Interface) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.
func (*Interface) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Interface) GetBridgeDomainName ¶
type InterfaceKind ¶
type InterfaceKind string
const ( InterfaceKindInterface InterfaceKind = "interface" InterfaceKindBridgeDomain InterfaceKind = "bridgedomain" )
type InterfaceUsageKind ¶
type InterfaceUsageKind string
const ( InterfaceUsageKindInternal InterfaceUsageKind = "internal" InterfaceUsageKindExternal InterfaceUsageKind = "external" InterfaceUsageKindPool InterfaceUsageKind = "pool" )
type Network ¶
type Network struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkSpec `json:"spec,omitempty"` Status NetworkStatus `json:"status,omitempty"` }
Network is the Schema for the Network API
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Network) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Network) GetCondition ¶
func (r *Network) GetCondition(t ConditionType) Condition
GetCondition returns the condition based on the condition kind
func (*Network) SetConditions ¶
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
type NetworkConfig ¶
type NetworkConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkConfigSpec `json:"spec,omitempty"` Status NetworkStatus `json:"status,omitempty"` }
NetworkConfig is the Schema for the Network API
func (*NetworkConfig) DeepCopy ¶
func (in *NetworkConfig) DeepCopy() *NetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig.
func (*NetworkConfig) DeepCopyInto ¶
func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkConfig) DeepCopyObject ¶
func (in *NetworkConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NetworkConfig) GetInterfacePrefixLength ¶
func (r *NetworkConfig) GetInterfacePrefixLength(interfaceKind InterfaceUsageKind, isIpv6 bool) uint8
type NetworkConfigList ¶
type NetworkConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Network `json:"items"` }
NetworkList contains a list of Repositories
func (*NetworkConfigList) DeepCopy ¶
func (in *NetworkConfigList) DeepCopy() *NetworkConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigList.
func (*NetworkConfigList) DeepCopyInto ¶
func (in *NetworkConfigList) DeepCopyInto(out *NetworkConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkConfigList) DeepCopyObject ¶
func (in *NetworkConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkConfigSpec ¶
type NetworkConfigSpec struct { // PrefixLengths define the prefix lengths for ipv4 and ipv6 configuration elements PrefixLengths *PrefixLengths `json:"prefixLengths,omitempty" yaml:"prefixLengths,omitempty"` }
NetworkConfigSpec defines the desired state of NetworkConfig
func (*NetworkConfigSpec) DeepCopy ¶
func (in *NetworkConfigSpec) DeepCopy() *NetworkConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigSpec.
func (*NetworkConfigSpec) DeepCopyInto ¶
func (in *NetworkConfigSpec) DeepCopyInto(out *NetworkConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkList ¶
type NetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Network `json:"items"` }
NetworkList contains a list of Repositories
func (*NetworkList) DeepCopy ¶
func (in *NetworkList) DeepCopy() *NetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
func (*NetworkList) DeepCopyInto ¶
func (in *NetworkList) DeepCopyInto(out *NetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkList) DeepCopyObject ¶
func (in *NetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkSpec ¶
type NetworkSpec struct { // Topology defines the topology to which this network applies Topology string `json:"topology" yaml:"topology"` // BridgeDomains define a set of logical ports that share the same // flooding or broadcast characteristics. Like a virtual LAN (VLAN), // a bridge domain spans one or more ports of multiple devices. BridgeDomains []BridgeDomain `json:"bridgeDomains,omitempty" yaml:"bridgeDomains,omitempty"` // RoutingTables defines a set of routes belonging to a given routing instance // Multiple routing tables are also called virtual routing instances. Each virtual // routing instance can hold overlapping IP information // A routing table supports both ipv4 and ipv6 RoutingTables []RoutingTable `json:"routingTables,omitempty" yaml:"routingTables,omitempty"` }
NetworkSpec defines the desired state of Network
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkStatus ¶
type NetworkStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful ConditionedStatus `json:",inline" yaml:",inline"` }
NetworkStatus defines the observed state of Network
func (*NetworkStatus) DeepCopy ¶
func (in *NetworkStatus) DeepCopy() *NetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
func (*NetworkStatus) DeepCopyInto ¶
func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrefixLengths ¶
type PrefixLengths struct { // IPv4 defines the ipv4 prefixlengths // +optional IPv4 *IPv4PrefixLengths `json:"ipv4,omitempty" yaml:"ipv4,omitempty"` // IPv6 defines the ipv6 prefixlengths // +optional IPv6 *IPv6PrefixLengths `json:"ipv6,omitempty" yaml:"ipv6,omitempty"` }
func (*PrefixLengths) DeepCopy ¶
func (in *PrefixLengths) DeepCopy() *PrefixLengths
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixLengths.
func (*PrefixLengths) DeepCopyInto ¶
func (in *PrefixLengths) DeepCopyInto(out *PrefixLengths)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec RepositorySpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status RepositoryStatus `json:"status,omitempty" yaml:"status,omitempty"` }
Repository is the Schema for the repository API
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) DeepCopyObject ¶
func (in *Repository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Repository) GetCondition ¶
func (r *Repository) GetCondition(t ConditionType) Condition
GetCondition returns the condition based on the condition kind
func (*Repository) SetConditions ¶
func (r *Repository) SetConditions(c ...Condition)
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Items []Repository `json:"items" yaml:"items"` }
RepositoryList contains a list of Repositories
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) DeepCopyObject ¶
func (in *RepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositorySpec ¶
type RepositorySpec struct { // Lifecycle determines the deletion lifecycle policies the resource // will follow Lifecycle commonv1alpha1.Lifecycle `json:"lifecycle,omitempty"` // Description of the repository to create // +optional Description *string `json:"description,omitempty" yaml:"description,omitempty"` // Private defines whether the repository is private // +optional Private *bool `json:"private,omitempty" yaml:"private,omitempty"` // IssueLabels defines the Issue Label set to use // +optional IssueLabels *string `json:"issueLabels,omitempty" yaml:"issueLabels,omitempty"` // Gitignores defines the Gitignores of the repository // +optional Gitignores *string `json:"gitignores,omitempty" yaml:"gitignores,omitempty"` // License to use // +optional License *string `json:"license,omitempty" yaml:"license,omitempty"` // Readme of the repository to create // +optional Readme *string `json:"readme,omitempty" yaml:"readme,omitempty"` // DefaultBranch of the repository (used when initializes and in template) // +optional DefaultBranch *string `json:"defaultBranch,omitempty" yaml:"defaultBranch,omitempty"` // TrustModel of the repository // +kubebuilder:validation:Enum=default;collaborator;committer;collaboratorcommitter // +optional TrustModel *TrustModel `json:"trustModel" yaml:"trustModel"` }
RepositorySpec defines the desired state of Repository
func (*RepositorySpec) DeepCopy ¶
func (in *RepositorySpec) DeepCopy() *RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (*RepositorySpec) DeepCopyInto ¶
func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryStatus ¶
type RepositoryStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful ConditionedStatus `json:",inline" yaml:",inline"` // URL is the url for the repo URL *string `json:"url,omitempty" yaml:"url,omitempty"` }
RepositoryStatus defines the observed state of Repository
func (*RepositoryStatus) DeepCopy ¶
func (in *RepositoryStatus) DeepCopy() *RepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.
func (*RepositoryStatus) DeepCopyInto ¶
func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoutingTable ¶
type RoutingTable struct { // Name defines the name of the routing table Name string `json:"name" yaml:"name"` // Interfaces defines the interfaces belonging to the routing table Interfaces []Interface `json:"interfaces,omitempty" yaml:"interfaces,omitempty"` // Prefixes defines the prefixes belonging to the routing table Prefixes []ipamv1alpha1.Prefix `json:"prefixes" yaml:"prefixes"` }
func (*RoutingTable) DeepCopy ¶
func (in *RoutingTable) DeepCopy() *RoutingTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingTable.
func (*RoutingTable) DeepCopyInto ¶
func (in *RoutingTable) DeepCopyInto(out *RoutingTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Token ¶
type Token struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TokenSpec `json:"spec,omitempty"` Status TokenStatus `json:"status,omitempty"` }
Token is the Schema for the repository token API
func (*Token) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Token) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Token) GetCondition ¶
func (r *Token) GetCondition(t ConditionType) Condition
GetCondition returns the condition based on the condition kind
func (*Token) GetTokenName ¶
func (*Token) SetConditions ¶
SetConditions sets the conditions on the resource. it allows for 0, 1 or more conditions to be set at once
type TokenList ¶
type TokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Token `json:"items"` }
TokenList contains a list of Repository tokens
func (*TokenList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenList.
func (*TokenList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenSpec ¶
type TokenSpec struct { // Lifecycle determines the deletion lifecycle policies the resource // will follow Lifecycle commonv1alpha1.Lifecycle `json:"lifecycle,omitempty"` }
TokenSpec defines the desired state of Token
func (*TokenSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenSpec.
func (*TokenSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenStatus ¶
type TokenStatus struct { // ConditionedStatus provides the status of the Readiness using conditions // if the condition is true the other attributes in the status are meaningful ConditionedStatus `json:",inline" yaml:",inline"` }
TokenStatus defines the observed state of the Token
func (*TokenStatus) DeepCopy ¶
func (in *TokenStatus) DeepCopy() *TokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenStatus.
func (*TokenStatus) DeepCopyInto ¶
func (in *TokenStatus) DeepCopyInto(out *TokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrustModel ¶
type TrustModel string
const ( // TrustModelDefault use TM set by global config TrustModelDefault TrustModel = "default" // TrustModelCollaborator gpg signature has to be owned by a repo collaborator TrustModelCollaborator TrustModel = "collaborator" // TrustModelCommitter gpg signature has to match committer TrustModelCommitter TrustModel = "committer" // TrustModelCollaboratorCommitter gpg signature has to match committer and owned by a repo collaborator TrustModelCollaboratorCommitter TrustModel = "collaboratorcommitter" )
type WorkloadCluster ¶
type WorkloadCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WorkloadClusterSpec `json:"spec,omitempty"` Status WorkloadClusterStatus `json:"status,omitempty"` }
WorkloadCluster is the Schema for the clustercontexts API
func (*WorkloadCluster) DeepCopy ¶
func (in *WorkloadCluster) DeepCopy() *WorkloadCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadCluster.
func (*WorkloadCluster) DeepCopyInto ¶
func (in *WorkloadCluster) DeepCopyInto(out *WorkloadCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadCluster) DeepCopyObject ¶
func (in *WorkloadCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadClusterList ¶
type WorkloadClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WorkloadCluster `json:"items"` }
WorkloadClusterList contains a list of WorkloadCluster
func (*WorkloadClusterList) DeepCopy ¶
func (in *WorkloadClusterList) DeepCopy() *WorkloadClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterList.
func (*WorkloadClusterList) DeepCopyInto ¶
func (in *WorkloadClusterList) DeepCopyInto(out *WorkloadClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadClusterList) DeepCopyObject ¶
func (in *WorkloadClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadClusterSpec ¶
type WorkloadClusterSpec struct { // ClusterName is the unique name for this cluster ClusterName string `json:"clusterName,omitempty"` // CNIs defines the CNIs required for the workload cluster CNIs []string `json:"cnis,omitempty"` // MasterInterface define the master interface for secondary networking in the nodes // on the cluster MasterInterface *string `json:"masterInterface,omitempty"` }
WorkloadClusterSpec defines the desired state of WorkloadCluster
func (*WorkloadClusterSpec) DeepCopy ¶
func (in *WorkloadClusterSpec) DeepCopy() *WorkloadClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterSpec.
func (*WorkloadClusterSpec) DeepCopyInto ¶
func (in *WorkloadClusterSpec) DeepCopyInto(out *WorkloadClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadClusterSpec) Validate ¶
func (spec *WorkloadClusterSpec) Validate() error
type WorkloadClusterStatus ¶
type WorkloadClusterStatus struct { }
WorkloadClusterStatus defines the observed state of WorkloadCluster
func (*WorkloadClusterStatus) DeepCopy ¶
func (in *WorkloadClusterStatus) DeepCopy() *WorkloadClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterStatus.
func (*WorkloadClusterStatus) DeepCopyInto ¶
func (in *WorkloadClusterStatus) DeepCopyInto(out *WorkloadClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.