Documentation ¶
Overview ¶
Package v1alpha1 contains the core resources of GitHub. +kubebuilder:object:generate=true +groupName=organizations.github.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Membership
- func (in *Membership) DeepCopy() *Membership
- func (in *Membership) DeepCopyInto(out *Membership)
- func (in *Membership) DeepCopyObject() runtime.Object
- func (mg *Membership) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Membership) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Membership) GetProviderConfigReference() *xpv1.Reference
- func (mg *Membership) GetProviderReference() *xpv1.Reference
- func (mg *Membership) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Membership) SetConditions(c ...xpv1.Condition)
- func (mg *Membership) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Membership) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Membership) SetProviderReference(r *xpv1.Reference)
- func (mg *Membership) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MembershipList
- type MembershipObservation
- type MembershipParameters
- type MembershipSpec
- type MembershipStatus
Constants ¶
const ( Group = "organizations.github.crossplane.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 ( MembershipKind = reflect.TypeOf(Membership{}).Name() MembershipGroupKind = schema.GroupKind{Group: Group, Kind: MembershipKind}.String() MembershipKindAPIVersion = MembershipKind + "." + SchemeGroupVersion.String() MembershipGroupVersionKind = SchemeGroupVersion.WithKind(MembershipKind) )
Membership type metadata.
Functions ¶
This section is empty.
Types ¶
type Membership ¶
type Membership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MembershipSpec `json:"spec"` Status MembershipStatus `json:"status,omitempty"` }
A Membership is a managed resource that represents a AWS Simple Membership +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.atProvider.arn" +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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}
func (*Membership) DeepCopy ¶
func (in *Membership) DeepCopy() *Membership
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Membership.
func (*Membership) DeepCopyInto ¶
func (in *Membership) DeepCopyInto(out *Membership)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Membership) DeepCopyObject ¶
func (in *Membership) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Membership) GetCondition ¶
func (mg *Membership) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Membership.
func (*Membership) GetDeletionPolicy ¶
func (mg *Membership) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Membership.
func (*Membership) GetProviderConfigReference ¶
func (mg *Membership) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Membership.
func (*Membership) GetProviderReference ¶
func (mg *Membership) GetProviderReference() *xpv1.Reference
GetProviderReference of this Membership. Deprecated: Use GetProviderConfigReference.
func (*Membership) GetWriteConnectionSecretToReference ¶
func (mg *Membership) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Membership.
func (*Membership) SetConditions ¶
func (mg *Membership) SetConditions(c ...xpv1.Condition)
SetConditions of this Membership.
func (*Membership) SetDeletionPolicy ¶
func (mg *Membership) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Membership.
func (*Membership) SetProviderConfigReference ¶
func (mg *Membership) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Membership.
func (*Membership) SetProviderReference ¶
func (mg *Membership) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Membership. Deprecated: Use SetProviderConfigReference.
func (*Membership) SetWriteConnectionSecretToReference ¶
func (mg *Membership) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Membership.
type MembershipList ¶
type MembershipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Membership `json:"items"` }
MembershipList contains a list of Membership
func (*MembershipList) DeepCopy ¶
func (in *MembershipList) DeepCopy() *MembershipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipList.
func (*MembershipList) DeepCopyInto ¶
func (in *MembershipList) DeepCopyInto(out *MembershipList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MembershipList) DeepCopyObject ¶
func (in *MembershipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MembershipList) GetItems ¶
func (l *MembershipList) GetItems() []resource.Managed
GetItems of this MembershipList.
type MembershipObservation ¶
type MembershipObservation struct { URL *string `json:"url,omitempty"` // State is the user's status within the organization or team. // Possible values are: "active", "pending" State *string `json:"state,omitempty"` }
MembershipObservation is the representation of the current state that is observed
func (*MembershipObservation) DeepCopy ¶
func (in *MembershipObservation) DeepCopy() *MembershipObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipObservation.
func (*MembershipObservation) DeepCopyInto ¶
func (in *MembershipObservation) DeepCopyInto(out *MembershipObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipParameters ¶
type MembershipParameters struct { // GitHub user ID for the person you are inviting. Not required if you provide Email. // +optional InviteeID *int64 `json:"inviteeId,omitempty"` // Email address of the person you are inviting, which can be an existing GitHub user. // Not required if you provide InviteeID // +optional Email *string `json:"email,omitempty"` // User is the username of the github user. User string `json:"user,omitempty"` // Specify role for new member. Can be one of: // * admin - Organization owners with full administrative rights to the // organization and complete access to all repositories and teams. // * direct_member - Non-owner organization members with ability to see // other members and join teams by invitation. // * billing_manager - Non-owner organization members with ability to // manage the billing settings of your organization. // Default is "direct_member". // +optional Role *string `json:"role,omitempty"` // Name of the organization. Organization string `json:"organization"` }
MembershipParameters represents the status of a user's membership in an organization or team.
func (*MembershipParameters) DeepCopy ¶
func (in *MembershipParameters) DeepCopy() *MembershipParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipParameters.
func (*MembershipParameters) DeepCopyInto ¶
func (in *MembershipParameters) DeepCopyInto(out *MembershipParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipSpec ¶
type MembershipSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider MembershipParameters `json:"forProvider"` }
MembershipSpec defines the desired state of a Membership.
func (*MembershipSpec) DeepCopy ¶
func (in *MembershipSpec) DeepCopy() *MembershipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipSpec.
func (*MembershipSpec) DeepCopyInto ¶
func (in *MembershipSpec) DeepCopyInto(out *MembershipSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipStatus ¶
type MembershipStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider MembershipObservation `json:"atProvider"` }
MembershipStatus represents the observed state of a Membership.
func (*MembershipStatus) DeepCopy ¶
func (in *MembershipStatus) DeepCopy() *MembershipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipStatus.
func (*MembershipStatus) DeepCopyInto ¶
func (in *MembershipStatus) DeepCopyInto(out *MembershipStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.