v1alpha1

package
v0.0.0-...-18fe569 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=chrome.googleworkspace.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "chrome.googleworkspace.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ChromePolicy_Kind             = "ChromePolicy"
	ChromePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ChromePolicy_Kind}.String()
	ChromePolicy_KindAPIVersion   = ChromePolicy_Kind + "." + CRDGroupVersion.String()
	ChromePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ChromePolicy_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ChromePolicy

type ChromePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.policies)",message="policies is a required parameter"
	Spec   ChromePolicySpec   `json:"spec"`
	Status ChromePolicyStatus `json:"status,omitempty"`
}

ChromePolicy is the Schema for the ChromePolicys API. <no value> +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,googleworkspace}

func (*ChromePolicy) DeepCopy

func (in *ChromePolicy) DeepCopy() *ChromePolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicy.

func (*ChromePolicy) DeepCopyInto

func (in *ChromePolicy) DeepCopyInto(out *ChromePolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChromePolicy) DeepCopyObject

func (in *ChromePolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ChromePolicy) GetCondition

func (mg *ChromePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ChromePolicy.

func (*ChromePolicy) GetConnectionDetailsMapping

func (tr *ChromePolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ChromePolicy

func (*ChromePolicy) GetDeletionPolicy

func (mg *ChromePolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ChromePolicy.

func (*ChromePolicy) GetID

func (tr *ChromePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this ChromePolicy

func (*ChromePolicy) GetManagementPolicy

func (mg *ChromePolicy) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ChromePolicy.

func (*ChromePolicy) GetObservation

func (tr *ChromePolicy) GetObservation() (map[string]any, error)

GetObservation of this ChromePolicy

func (*ChromePolicy) GetParameters

func (tr *ChromePolicy) GetParameters() (map[string]any, error)

GetParameters of this ChromePolicy

func (*ChromePolicy) GetProviderConfigReference

func (mg *ChromePolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ChromePolicy.

func (*ChromePolicy) GetProviderReference

func (mg *ChromePolicy) GetProviderReference() *xpv1.Reference

GetProviderReference of this ChromePolicy. Deprecated: Use GetProviderConfigReference.

func (*ChromePolicy) GetPublishConnectionDetailsTo

func (mg *ChromePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ChromePolicy.

func (*ChromePolicy) GetTerraformResourceType

func (mg *ChromePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ChromePolicy

func (*ChromePolicy) GetTerraformSchemaVersion

func (tr *ChromePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ChromePolicy) GetWriteConnectionSecretToReference

func (mg *ChromePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ChromePolicy.

func (*ChromePolicy) LateInitialize

func (tr *ChromePolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ChromePolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*ChromePolicy) ResolveReferences

func (mg *ChromePolicy) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ChromePolicy.

func (*ChromePolicy) SetConditions

func (mg *ChromePolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this ChromePolicy.

func (*ChromePolicy) SetDeletionPolicy

func (mg *ChromePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ChromePolicy.

func (*ChromePolicy) SetManagementPolicy

func (mg *ChromePolicy) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ChromePolicy.

func (*ChromePolicy) SetObservation

func (tr *ChromePolicy) SetObservation(obs map[string]any) error

SetObservation for this ChromePolicy

func (*ChromePolicy) SetParameters

func (tr *ChromePolicy) SetParameters(params map[string]any) error

SetParameters for this ChromePolicy

func (*ChromePolicy) SetProviderConfigReference

func (mg *ChromePolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ChromePolicy.

func (*ChromePolicy) SetProviderReference

func (mg *ChromePolicy) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ChromePolicy. Deprecated: Use SetProviderConfigReference.

func (*ChromePolicy) SetPublishConnectionDetailsTo

func (mg *ChromePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ChromePolicy.

func (*ChromePolicy) SetWriteConnectionSecretToReference

func (mg *ChromePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ChromePolicy.

type ChromePolicyList

type ChromePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ChromePolicy `json:"items"`
}

ChromePolicyList contains a list of ChromePolicys

func (*ChromePolicyList) DeepCopy

func (in *ChromePolicyList) DeepCopy() *ChromePolicyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicyList.

func (*ChromePolicyList) DeepCopyInto

func (in *ChromePolicyList) DeepCopyInto(out *ChromePolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChromePolicyList) DeepCopyObject

func (in *ChromePolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ChromePolicyList) GetItems

func (l *ChromePolicyList) GetItems() []resource.Managed

GetItems of this ChromePolicyList.

type ChromePolicyObservation

type ChromePolicyObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The target org unit on which this policy is applied.
	OrgUnitID *string `json:"orgUnitId,omitempty" tf:"org_unit_id,omitempty"`

	// Policies to set for the org unit
	Policies []PoliciesObservation `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ChromePolicyObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicyObservation.

func (*ChromePolicyObservation) DeepCopyInto

func (in *ChromePolicyObservation) DeepCopyInto(out *ChromePolicyObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChromePolicyParameters

type ChromePolicyParameters struct {

	// The target org unit on which this policy is applied.
	// +crossplane:generate:reference:type=github.com/alanraison/provider-googleworkspace/apis/directory/v1alpha1.OrgUnit
	// +crossplane:generate:reference:refFieldName=OrgUnitRef
	// +crossplane:generate:reference:selectorFieldName=OrgUnitSelector
	// +kubebuilder:validation:Optional
	OrgUnitID *string `json:"orgUnitId,omitempty" tf:"org_unit_id,omitempty"`

	// Reference to a OrgUnit in directory to populate orgUnitId.
	// +kubebuilder:validation:Optional
	OrgUnitRef *v1.Reference `json:"orgUnitRef,omitempty" tf:"-"`

	// Selector for a OrgUnit in directory to populate orgUnitId.
	// +kubebuilder:validation:Optional
	OrgUnitSelector *v1.Selector `json:"orgUnitSelector,omitempty" tf:"-"`

	// Policies to set for the org unit
	// +kubebuilder:validation:Optional
	Policies []PoliciesParameters `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*ChromePolicyParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicyParameters.

func (*ChromePolicyParameters) DeepCopyInto

func (in *ChromePolicyParameters) DeepCopyInto(out *ChromePolicyParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChromePolicySpec

type ChromePolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ChromePolicyParameters `json:"forProvider"`
}

ChromePolicySpec defines the desired state of ChromePolicy

func (*ChromePolicySpec) DeepCopy

func (in *ChromePolicySpec) DeepCopy() *ChromePolicySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicySpec.

func (*ChromePolicySpec) DeepCopyInto

func (in *ChromePolicySpec) DeepCopyInto(out *ChromePolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChromePolicyStatus

type ChromePolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ChromePolicyObservation `json:"atProvider,omitempty"`
}

ChromePolicyStatus defines the observed state of ChromePolicy.

func (*ChromePolicyStatus) DeepCopy

func (in *ChromePolicyStatus) DeepCopy() *ChromePolicyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChromePolicyStatus.

func (*ChromePolicyStatus) DeepCopyInto

func (in *ChromePolicyStatus) DeepCopyInto(out *ChromePolicyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoliciesObservation

type PoliciesObservation struct {

	// The full qualified name of the policy schema.
	SchemaName *string `json:"schemaName,omitempty" tf:"schema_name,omitempty"`

	// JSON encoded map that represents key/value pairs that correspond to the given schema.
	SchemaValues map[string]*string `json:"schemaValues,omitempty" tf:"schema_values,omitempty"`
}

func (*PoliciesObservation) DeepCopy

func (in *PoliciesObservation) DeepCopy() *PoliciesObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoliciesObservation.

func (*PoliciesObservation) DeepCopyInto

func (in *PoliciesObservation) DeepCopyInto(out *PoliciesObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoliciesParameters

type PoliciesParameters struct {

	// The full qualified name of the policy schema.
	// +kubebuilder:validation:Required
	SchemaName *string `json:"schemaName" tf:"schema_name,omitempty"`

	// JSON encoded map that represents key/value pairs that correspond to the given schema.
	// +kubebuilder:validation:Required
	SchemaValues map[string]*string `json:"schemaValues" tf:"schema_values,omitempty"`
}

func (*PoliciesParameters) DeepCopy

func (in *PoliciesParameters) DeepCopy() *PoliciesParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoliciesParameters.

func (*PoliciesParameters) DeepCopyInto

func (in *PoliciesParameters) DeepCopyInto(out *PoliciesParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL