Documentation ¶
Overview ¶
v1alpha1 contains API types that extend the Crossplane API. +kubebuilder:object:generate=true +groupName=xaws.crossplane.giantswarm.io +versionName=v1alpha1
Index ¶
Constants ¶
const ( XRDGroup = "xaws.crossplane.giantswarm.io" XRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: XRDGroup, Version: XRDVersion} // 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 ( ResourceAccessManagerKind = "ResourceAccessManager" ResourceAccessManagerGroupKind = schema.GroupKind{ Group: XRDGroup, Kind: ResourceAccessManagerKind, }.String() ResourceAccessManagerKindAPIVersion = ResourceAccessManagerKind + "." + GroupVersion.String() ResourceAccessManagerGroupVersionKind = GroupVersion.WithKind(ResourceAccessManagerKind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission string
type Principal ¶
type Principal struct { // The principal to associate with the resource access manager. // // Possible values are AWS Account ID, AWS Organization ID, or AWS organizations. // // +required Principal string `json:"principal"` // If this is a cross-org principal. // // +optional // +default=false CrossOrg *bool `json:"crossOrg,omitempty"` // Provider config for accepting the share // // +optional ProviderConfigRef xpv1.Reference `json:"providerConfigRef,omitempty"` }
func (*Principal) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Principal.
func (*Principal) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RamParameters ¶
type RamParameters struct { // If external principals are allowed to access the resource access manager. // // +optional // +default=false AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty"` // A list of principals to associate with the resource access manager. // // +optional Principals []*Principal `json:"principals,omitempty"` // A list of resources to associate with the resource access manager. // // +optional Resources []*Resource `json:"resources,omitempty"` // The permissions to associate with the resource access manager. // // +optional Permissions []*Permission `json:"permissions,omitempty"` }
func (*RamParameters) DeepCopy ¶
func (in *RamParameters) DeepCopy() *RamParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RamParameters.
func (*RamParameters) DeepCopyInto ¶
func (in *RamParameters) DeepCopyInto(out *RamParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceAccessManager ¶
type ResourceAccessManager struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceAccessManagerSpec `json:"spec"` Status ResourceAccessManagerStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:storageversion +genclient +genclient:nonNamespaced
+kubebuilder:resource:scope=Cluster,categories=crossplane +kubebuilder:subresource:status +kubebuilder:resource:shortName=ram +crossbuilder:generate:xrd:claimNames:kind=ResourceAccessManagerClaim,plural=resourceaccessmanagerclaims +crossbuilder:generate:xrd:defaultCompositionRef:name=resource-access-manager +crossbuilder:generate:xrd:enforcedCompositionRef:name=resource-access-manager
func (*ResourceAccessManager) DeepCopy ¶
func (in *ResourceAccessManager) DeepCopy() *ResourceAccessManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessManager.
func (*ResourceAccessManager) DeepCopyInto ¶
func (in *ResourceAccessManager) DeepCopyInto(out *ResourceAccessManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceAccessManager) DeepCopyObject ¶
func (in *ResourceAccessManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceAccessManagerList ¶
type ResourceAccessManagerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceAccessManager `json:"items"` }
+kubebuilder:object:root=true
func (*ResourceAccessManagerList) DeepCopy ¶
func (in *ResourceAccessManagerList) DeepCopy() *ResourceAccessManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessManagerList.
func (*ResourceAccessManagerList) DeepCopyInto ¶
func (in *ResourceAccessManagerList) DeepCopyInto(out *ResourceAccessManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceAccessManagerList) DeepCopyObject ¶
func (in *ResourceAccessManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceAccessManagerSpec ¶
type ResourceAccessManagerSpec struct { xpv1.ResourceSpec `json:",inline"` // The name of the resource access manager. // // +required Name string `json:"name"` // The region in which the resource should be created. // // +required Region string `json:"region"` // The tags to associate with the resource access manager. // // +optional // +kubebuilder:validation:MaxProperties=50 Tags map[string]string `json:"tags,omitempty"` RamParameters `json:",inline"` }
func (*ResourceAccessManagerSpec) DeepCopy ¶
func (in *ResourceAccessManagerSpec) DeepCopy() *ResourceAccessManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessManagerSpec.
func (*ResourceAccessManagerSpec) DeepCopyInto ¶
func (in *ResourceAccessManagerSpec) DeepCopyInto(out *ResourceAccessManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceAccessManagerStatus ¶
type ResourceAccessManagerStatus struct { xpv1.ConditionedStatus `json:",inline"` // The ARN of the resource access manager. // // +optional Arn string `json:"arn,omitempty"` // The ID of the resource access manager. // // +optional Id string `json:"id,omitempty"` // Is the resource access manager ready // // +optional Ready bool `json:"ready,omitempty"` }
func (*ResourceAccessManagerStatus) DeepCopy ¶
func (in *ResourceAccessManagerStatus) DeepCopy() *ResourceAccessManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessManagerStatus.
func (*ResourceAccessManagerStatus) DeepCopyInto ¶
func (in *ResourceAccessManagerStatus) DeepCopyInto(out *ResourceAccessManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.