v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=child.datadog.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: child.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OrganizationSpec   `json:"spec,omitempty"`
	Status            OrganizationStatus `json:"status,omitempty"`
}

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

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

func (*Organization) DeepCopyObject

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

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

func (*Organization) SetupWebhookWithManager

func (r *Organization) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Organization) ValidateCreate

func (r *Organization) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Organization) ValidateDelete

func (r *Organization) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Organization) ValidateUpdate

func (r *Organization) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OrganizationList

type OrganizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Organization CRD objects
	Items []Organization `json:"items,omitempty"`
}

OrganizationList is a list of Organizations

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

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

func (*OrganizationList) DeepCopyObject

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

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

type OrganizationSpec

type OrganizationSpec struct {
	State *OrganizationSpecResource `json:"state,omitempty" tf:"-"`

	Resource OrganizationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

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

type OrganizationSpecApiKey

type OrganizationSpecApiKey struct {
	// API key.
	// +optional
	Key *string `json:"-" sensitive:"true" tf:"key"`
	// Name of your API key.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*OrganizationSpecApiKey) DeepCopy

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

func (*OrganizationSpecApiKey) DeepCopyInto

func (in *OrganizationSpecApiKey) DeepCopyInto(out *OrganizationSpecApiKey)

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

type OrganizationSpecApplicationKey

type OrganizationSpecApplicationKey struct {
	// Hash of an application key.
	// +optional
	Hash *string `json:"-" sensitive:"true" tf:"hash"`
	// Name of an application key.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Owner of an application key.
	// +optional
	Owner *string `json:"owner,omitempty" tf:"owner"`
}

func (*OrganizationSpecApplicationKey) DeepCopy

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

func (*OrganizationSpecApplicationKey) DeepCopyInto

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

type OrganizationSpecResource

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

	// Datadog API key.
	// +optional
	ApiKey []OrganizationSpecApiKey `json:"apiKey,omitempty" tf:"api_key"`
	// An application key with its associated metadata.
	// +optional
	ApplicationKey []OrganizationSpecApplicationKey `json:"applicationKey,omitempty" tf:"application_key"`
	// Description of the organization.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Name for Child Organization after creation.
	Name *string `json:"name" tf:"name"`
	// The `public_id` of the organization you are operating within.
	// +optional
	PublicID *string `json:"publicID,omitempty" tf:"public_id"`
	// Organization settings
	// +optional
	Settings []OrganizationSpecSettings `json:"settings,omitempty" tf:"settings"`
	// Information about a user
	// +optional
	User []OrganizationSpecUser `json:"user,omitempty" tf:"user"`
}

func (*OrganizationSpecResource) DeepCopy

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

func (*OrganizationSpecResource) DeepCopyInto

func (in *OrganizationSpecResource) DeepCopyInto(out *OrganizationSpecResource)

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

type OrganizationSpecSettings

type OrganizationSpecSettings struct {
	// Whether or not the organization users can share widgets outside of Datadog.
	// +optional
	PrivateWidgetShare *bool `json:"privateWidgetShare,omitempty" tf:"private_widget_share"`
	// SAML properties
	// +optional
	Saml []OrganizationSpecSettingsSaml `json:"saml,omitempty" tf:"saml"`
	// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR`
	// +optional
	SamlAutocreateAccessRole *string `json:"samlAutocreateAccessRole,omitempty" tf:"saml_autocreate_access_role"`
	// List of domains where the SAML automated user creation is enabled.
	// +optional
	SamlAutocreateUsersDomains []OrganizationSpecSettingsSamlAutocreateUsersDomains `json:"samlAutocreateUsersDomains,omitempty" tf:"saml_autocreate_users_domains"`
	// Whether or not SAML can be enabled for this organization.
	// +optional
	SamlCanBeEnabled *bool `json:"samlCanBeEnabled,omitempty" tf:"saml_can_be_enabled"`
	// Identity provider endpoint for SAML authentication.
	// +optional
	SamlIdpEndpoint *string `json:"samlIdpEndpoint,omitempty" tf:"saml_idp_endpoint"`
	// Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
	// +optional
	SamlIdpInitiatedLogin []OrganizationSpecSettingsSamlIdpInitiatedLogin `json:"samlIdpInitiatedLogin,omitempty" tf:"saml_idp_initiated_login"`
	// Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
	// +optional
	SamlIdpMetadataUploaded *bool `json:"samlIdpMetadataUploaded,omitempty" tf:"saml_idp_metadata_uploaded"`
	// URL for SAML logging.
	// +optional
	SamlLoginURL *string `json:"samlLoginURL,omitempty" tf:"saml_login_url"`
	// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
	// +optional
	SamlStrictMode []OrganizationSpecSettingsSamlStrictMode `json:"samlStrictMode,omitempty" tf:"saml_strict_mode"`
}

func (*OrganizationSpecSettings) DeepCopy

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

func (*OrganizationSpecSettings) DeepCopyInto

func (in *OrganizationSpecSettings) DeepCopyInto(out *OrganizationSpecSettings)

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

type OrganizationSpecSettingsSaml

type OrganizationSpecSettingsSaml struct {
	// Whether or not SAML is enabled for this organization.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*OrganizationSpecSettingsSaml) DeepCopy

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

func (*OrganizationSpecSettingsSaml) DeepCopyInto

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

type OrganizationSpecSettingsSamlAutocreateUsersDomains

type OrganizationSpecSettingsSamlAutocreateUsersDomains struct {
	// List of domains where the SAML automated user creation is enabled.
	// +optional
	Domains []string `json:"domains,omitempty" tf:"domains"`
	// Whether or not the automated user creation based on SAML domain is enabled.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*OrganizationSpecSettingsSamlAutocreateUsersDomains) DeepCopy

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

func (*OrganizationSpecSettingsSamlAutocreateUsersDomains) DeepCopyInto

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

type OrganizationSpecSettingsSamlIdpInitiatedLogin

type OrganizationSpecSettingsSamlIdpInitiatedLogin struct {
	// Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*OrganizationSpecSettingsSamlIdpInitiatedLogin) DeepCopy

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

func (*OrganizationSpecSettingsSamlIdpInitiatedLogin) DeepCopyInto

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

type OrganizationSpecSettingsSamlStrictMode

type OrganizationSpecSettingsSamlStrictMode struct {
	// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
}

func (*OrganizationSpecSettingsSamlStrictMode) DeepCopy

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

func (*OrganizationSpecSettingsSamlStrictMode) DeepCopyInto

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

type OrganizationSpecUser

type OrganizationSpecUser struct {
	// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm`, `ro`, `ERROR`
	// +optional
	AccessRole *string `json:"accessRole,omitempty" tf:"access_role"`
	// The new email of the user.
	// +optional
	Email *string `json:"email,omitempty" tf:"email"`
	// The name of the user.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*OrganizationSpecUser) DeepCopy

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

func (*OrganizationSpecUser) DeepCopyInto

func (in *OrganizationSpecUser) DeepCopyInto(out *OrganizationSpecUser)

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

type OrganizationStatus

type OrganizationStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

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