Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Repository resources of the Upbound provider. +kubebuilder:object:generate=true +groupName=repository.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Permission
- func (in *Permission) DeepCopy() *Permission
- func (in *Permission) DeepCopyInto(out *Permission)
- func (in *Permission) DeepCopyObject() runtime.Object
- func (mg *Permission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Permission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Permission) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Permission) GetProviderConfigReference() *xpv1.Reference
- func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Permission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Permission) SetConditions(c ...xpv1.Condition)
- func (mg *Permission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Permission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Permission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PermissionList
- type PermissionObservation
- type PermissionParameters
- type PermissionSpec
- type PermissionStatus
- type Repository
- func (in *Repository) DeepCopy() *Repository
- func (in *Repository) DeepCopyInto(out *Repository)
- func (in *Repository) DeepCopyObject() runtime.Object
- func (mg *Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Repository) GetProviderConfigReference() *xpv1.Reference
- func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Repository) SetConditions(c ...xpv1.Condition)
- func (mg *Repository) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryList
- type RepositoryObservation
- type RepositoryParameters
- type RepositorySpec
- type RepositoryStatus
Constants ¶
const ( Group = "repository.upbound.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( PermissionKind = reflect.TypeOf(Permission{}).Name() PermissionGroupKind = schema.GroupKind{Group: Group, Kind: PermissionKind}.String() PermissionKindAPIVersion = PermissionKind + "." + SchemeGroupVersion.String() PermissionGroupVersionKind = SchemeGroupVersion.WithKind(PermissionKind) )
Permission type metadata.
var ( RepositoryKind = reflect.TypeOf(Repository{}).Name() RepositoryGroupKind = schema.GroupKind{Group: Group, Kind: RepositoryKind}.String() RepositoryKindAPIVersion = RepositoryKind + "." + SchemeGroupVersion.String() RepositoryGroupVersionKind = SchemeGroupVersion.WithKind(RepositoryKind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PermissionSpec `json:"spec"` Status PermissionStatus `json:"status,omitempty"` }
A Permission is an API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,upbound}
func (*Permission) DeepCopy ¶
func (in *Permission) DeepCopy() *Permission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission.
func (*Permission) DeepCopyInto ¶
func (in *Permission) DeepCopyInto(out *Permission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Permission) DeepCopyObject ¶
func (in *Permission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Permission) GetCondition ¶
func (mg *Permission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Permission.
func (*Permission) GetDeletionPolicy ¶
func (mg *Permission) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Permission.
func (*Permission) GetManagementPolicies ¶
func (mg *Permission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Permission.
func (*Permission) GetProviderConfigReference ¶
func (mg *Permission) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Permission.
func (*Permission) GetPublishConnectionDetailsTo ¶
func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Permission.
func (*Permission) GetWriteConnectionSecretToReference ¶
func (mg *Permission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Permission.
func (*Permission) ResolveReferences ¶
ResolveReferences of this Permission.
func (*Permission) SetConditions ¶
func (mg *Permission) SetConditions(c ...xpv1.Condition)
SetConditions of this Permission.
func (*Permission) SetDeletionPolicy ¶
func (mg *Permission) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Permission.
func (*Permission) SetManagementPolicies ¶
func (mg *Permission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Permission.
func (*Permission) SetProviderConfigReference ¶
func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Permission.
func (*Permission) SetPublishConnectionDetailsTo ¶
func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Permission.
func (*Permission) SetWriteConnectionSecretToReference ¶
func (mg *Permission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Permission.
type PermissionList ¶
type PermissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Permission `json:"items"` }
PermissionList contains a list of Permission
func (*PermissionList) DeepCopy ¶
func (in *PermissionList) DeepCopy() *PermissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionList.
func (*PermissionList) DeepCopyInto ¶
func (in *PermissionList) DeepCopyInto(out *PermissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PermissionList) DeepCopyObject ¶
func (in *PermissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PermissionList) GetItems ¶
func (l *PermissionList) GetItems() []resource.Managed
GetItems of this PermissionList.
type PermissionObservation ¶
type PermissionObservation struct{}
PermissionObservation are the observable fields of a Permission.
func (*PermissionObservation) DeepCopy ¶
func (in *PermissionObservation) DeepCopy() *PermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionObservation.
func (*PermissionObservation) DeepCopyInto ¶
func (in *PermissionObservation) DeepCopyInto(out *PermissionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionParameters ¶
type PermissionParameters struct { // OrganizationName is the name of the organization to which the Permission // belongs. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 OrganizationName string `json:"organizationName"` // Permission is the permission to grant to the repository for an team. // +kubebuilder:validation:Enum=admin;read;write;view // +kubebuilder:validation:Required Permission string `json:"permission"` // TeamID of the team to add the robot to. Either teamId or teamIdRef or // teamIdSelector is required. // +crossplane:generate:reference:type=github.com/upbound/provider-upbound/apis/iam/v1alpha1.Team TeamID *string `json:"teamId,omitempty"` // TeamIDRef references a Team to and retrieves its teamId. TeamIDRef *xpv1.Reference `json:"teamIdRef,omitempty"` // TeamIDSelector selects a reference to a Team in order to retrieve its // teamId. TeamIDSelector *xpv1.Selector `json:"teamIdSelector,omitempty"` // Repository of the repository to add the permission to. Either repository or repositoryRef or // repositorySelector is required. // +crossplane:generate:reference:type=Repository Repository *string `json:"repository,omitempty"` // RepositoryRef references a Repository to and retrieves its name. RepositoryRef *xpv1.Reference `json:"repositoryRef,omitempty"` // RepositorySelector selects a reference to a Repository in order to retrieve its // name. RepositorySelector *xpv1.Selector `json:"repositorySelector,omitempty"` }
PermissionParameters are the configurable fields of a Permission.
func (*PermissionParameters) DeepCopy ¶
func (in *PermissionParameters) DeepCopy() *PermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionParameters.
func (*PermissionParameters) DeepCopyInto ¶
func (in *PermissionParameters) DeepCopyInto(out *PermissionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionSpec ¶
type PermissionSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider PermissionParameters `json:"forProvider"` }
A PermissionSpec defines the desired state of a Permission.
func (*PermissionSpec) DeepCopy ¶
func (in *PermissionSpec) DeepCopy() *PermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionSpec.
func (*PermissionSpec) DeepCopyInto ¶
func (in *PermissionSpec) DeepCopyInto(out *PermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionStatus ¶
type PermissionStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider PermissionObservation `json:"atProvider,omitempty"` }
A PermissionStatus represents the observed state of a Permission.
func (*PermissionStatus) DeepCopy ¶
func (in *PermissionStatus) DeepCopy() *PermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionStatus.
func (*PermissionStatus) DeepCopyInto ¶
func (in *PermissionStatus) DeepCopyInto(out *PermissionStatus)
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"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepositorySpec `json:"spec"` Status RepositoryStatus `json:"status,omitempty"` }
A Repository is an API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,upbound}
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 (mg *Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Repository.
func (*Repository) GetDeletionPolicy ¶
func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Repository.
func (*Repository) GetManagementPolicies ¶
func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Repository.
func (*Repository) GetProviderConfigReference ¶
func (mg *Repository) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Repository.
func (*Repository) GetPublishConnectionDetailsTo ¶
func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Repository.
func (*Repository) GetWriteConnectionSecretToReference ¶
func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Repository.
func (*Repository) SetConditions ¶
func (mg *Repository) SetConditions(c ...xpv1.Condition)
SetConditions of this Repository.
func (*Repository) SetDeletionPolicy ¶
func (mg *Repository) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Repository.
func (*Repository) SetManagementPolicies ¶
func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Repository.
func (*Repository) SetProviderConfigReference ¶
func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Repository.
func (*Repository) SetPublishConnectionDetailsTo ¶
func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Repository.
func (*Repository) SetWriteConnectionSecretToReference ¶
func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Repository.
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList contains a list of Repository
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.
func (*RepositoryList) GetItems ¶
func (l *RepositoryList) GetItems() []resource.Managed
GetItems of this RepositoryList.
type RepositoryObservation ¶
type RepositoryObservation struct { Name string `json:"name"` RepositoryID uint `json:"repositoryId"` AccountID uint `json:"accountId"` Type *sdk.RepositoryType `json:"type,omitempty"` Public bool `json:"public"` Official bool `json:"official"` CurrentVersion *string `json:"currentVersion,omitempty"` CreatedAt metav1.Time `json:"createdAt"` UpdatedAt *metav1.Time `json:"updatedAt,omitempty"` }
RepositoryObservation are the observable fields of a Repository.
func (*RepositoryObservation) DeepCopy ¶
func (in *RepositoryObservation) DeepCopy() *RepositoryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryObservation.
func (*RepositoryObservation) DeepCopyInto ¶
func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryParameters ¶
type RepositoryParameters struct { // Name of this Repository. // +kubebuilder:validation:Required Name string `json:"name"` // OrganizationName is the name of the organization to which the repository // belongs. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 OrganizationName string `json:"organizationName"` }
RepositoryParameters are the configurable fields of a Repository.
func (*RepositoryParameters) DeepCopy ¶
func (in *RepositoryParameters) DeepCopy() *RepositoryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryParameters.
func (*RepositoryParameters) DeepCopyInto ¶
func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpec ¶
type RepositorySpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RepositoryParameters `json:"forProvider"` }
A RepositorySpec defines the desired state of a 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 { xpv1.ResourceStatus `json:",inline"` AtProvider RepositoryObservation `json:"atProvider,omitempty"` }
A RepositoryStatus represents the observed state of a 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.