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: 16 Imported by: 0

Documentation

Overview

+groupName=iotsecurity.azurerm.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: iotsecurity.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 DeviceGroup

type DeviceGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DeviceGroupSpec   `json:"spec,omitempty"`
	Status            DeviceGroupStatus `json:"status,omitempty"`
}

func (*DeviceGroup) DeepCopy

func (in *DeviceGroup) DeepCopy() *DeviceGroup

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

func (*DeviceGroup) DeepCopyInto

func (in *DeviceGroup) DeepCopyInto(out *DeviceGroup)

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

func (*DeviceGroup) DeepCopyObject

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

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

func (*DeviceGroup) SetupWebhookWithManager

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

func (*DeviceGroup) ValidateCreate

func (r *DeviceGroup) ValidateCreate() error

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

func (*DeviceGroup) ValidateDelete

func (r *DeviceGroup) ValidateDelete() error

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

func (*DeviceGroup) ValidateUpdate

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

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

type DeviceGroupList

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

DeviceGroupList is a list of DeviceGroups

func (*DeviceGroupList) DeepCopy

func (in *DeviceGroupList) DeepCopy() *DeviceGroupList

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

func (*DeviceGroupList) DeepCopyInto

func (in *DeviceGroupList) DeepCopyInto(out *DeviceGroupList)

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

func (*DeviceGroupList) DeepCopyObject

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

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

type DeviceGroupSpec

type DeviceGroupSpec struct {
	State *DeviceGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource DeviceGroupSpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*DeviceGroupSpec) DeepCopy

func (in *DeviceGroupSpec) DeepCopy() *DeviceGroupSpec

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

func (*DeviceGroupSpec) DeepCopyInto

func (in *DeviceGroupSpec) DeepCopyInto(out *DeviceGroupSpec)

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

type DeviceGroupSpecAllowRule

type DeviceGroupSpecAllowRule struct {
	// +optional
	ConnectionFromIPSNotAllowed []string `json:"connectionFromIPSNotAllowed,omitempty" tf:"connection_from_ips_not_allowed"`
	// +optional
	// Deprecated
	ConnectionToIPNotAllowed []string `json:"connectionToIPNotAllowed,omitempty" tf:"connection_to_ip_not_allowed"`
	// +optional
	ConnectionToIPSNotAllowed []string `json:"connectionToIPSNotAllowed,omitempty" tf:"connection_to_ips_not_allowed"`
	// +optional
	// Deprecated
	LocalUserNotAllowed []string `json:"localUserNotAllowed,omitempty" tf:"local_user_not_allowed"`
	// +optional
	LocalUsersNotAllowed []string `json:"localUsersNotAllowed,omitempty" tf:"local_users_not_allowed"`
	// +optional
	// Deprecated
	ProcessNotAllowed []string `json:"processNotAllowed,omitempty" tf:"process_not_allowed"`
	// +optional
	ProcessesNotAllowed []string `json:"processesNotAllowed,omitempty" tf:"processes_not_allowed"`
}

func (*DeviceGroupSpecAllowRule) DeepCopy

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

func (*DeviceGroupSpecAllowRule) DeepCopyInto

func (in *DeviceGroupSpecAllowRule) DeepCopyInto(out *DeviceGroupSpecAllowRule)

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

type DeviceGroupSpecAllowRuleCodec

type DeviceGroupSpecAllowRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (DeviceGroupSpecAllowRuleCodec) Decode

func (DeviceGroupSpecAllowRuleCodec) Encode

func (DeviceGroupSpecAllowRuleCodec) IsEmpty

type DeviceGroupSpecRangeRule

type DeviceGroupSpecRangeRule struct {
	Duration *string `json:"duration" tf:"duration"`
	Max      *int64  `json:"max" tf:"max"`
	Min      *int64  `json:"min" tf:"min"`
	Type     *string `json:"type" tf:"type"`
}

func (*DeviceGroupSpecRangeRule) DeepCopy

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

func (*DeviceGroupSpecRangeRule) DeepCopyInto

func (in *DeviceGroupSpecRangeRule) DeepCopyInto(out *DeviceGroupSpecRangeRule)

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

type DeviceGroupSpecResource

type DeviceGroupSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AllowRule *DeviceGroupSpecAllowRule `json:"allowRule,omitempty" tf:"allow_rule"`
	IothubID  *string                   `json:"iothubID" tf:"iothub_id"`
	Name      *string                   `json:"name" tf:"name"`
	// +optional
	RangeRule []DeviceGroupSpecRangeRule `json:"rangeRule,omitempty" tf:"range_rule"`
}

func (*DeviceGroupSpecResource) DeepCopy

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

func (*DeviceGroupSpecResource) DeepCopyInto

func (in *DeviceGroupSpecResource) DeepCopyInto(out *DeviceGroupSpecResource)

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

type DeviceGroupStatus

type DeviceGroupStatus 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 (*DeviceGroupStatus) DeepCopy

func (in *DeviceGroupStatus) DeepCopy() *DeviceGroupStatus

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

func (*DeviceGroupStatus) DeepCopyInto

func (in *DeviceGroupStatus) DeepCopyInto(out *DeviceGroupStatus)

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

type Solution

type Solution struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SolutionSpec   `json:"spec,omitempty"`
	Status            SolutionStatus `json:"status,omitempty"`
}

func (*Solution) DeepCopy

func (in *Solution) DeepCopy() *Solution

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

func (*Solution) DeepCopyInto

func (in *Solution) DeepCopyInto(out *Solution)

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

func (*Solution) DeepCopyObject

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

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

func (*Solution) SetupWebhookWithManager

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

func (*Solution) ValidateCreate

func (r *Solution) ValidateCreate() error

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

func (*Solution) ValidateDelete

func (r *Solution) ValidateDelete() error

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

func (*Solution) ValidateUpdate

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

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

type SolutionList

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

SolutionList is a list of Solutions

func (*SolutionList) DeepCopy

func (in *SolutionList) DeepCopy() *SolutionList

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

func (*SolutionList) DeepCopyInto

func (in *SolutionList) DeepCopyInto(out *SolutionList)

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

func (*SolutionList) DeepCopyObject

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

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

type SolutionSpec

type SolutionSpec struct {
	State *SolutionSpecResource `json:"state,omitempty" tf:"-"`

	Resource SolutionSpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*SolutionSpec) DeepCopy

func (in *SolutionSpec) DeepCopy() *SolutionSpec

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

func (*SolutionSpec) DeepCopyInto

func (in *SolutionSpec) DeepCopyInto(out *SolutionSpec)

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

type SolutionSpecAdditionalWorkspace added in v0.5.0

type SolutionSpecAdditionalWorkspace struct {
	DataTypes   []string `json:"dataTypes" tf:"data_types"`
	WorkspaceID *string  `json:"workspaceID" tf:"workspace_id"`
}

func (*SolutionSpecAdditionalWorkspace) DeepCopy added in v0.5.0

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

func (*SolutionSpecAdditionalWorkspace) DeepCopyInto added in v0.5.0

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

type SolutionSpecRecommendationsEnabled

type SolutionSpecRecommendationsEnabled struct {
	// +optional
	AcrAuthentication *bool `json:"acrAuthentication,omitempty" tf:"acr_authentication"`
	// +optional
	AgentSendUnutilizedMsg *bool `json:"agentSendUnutilizedMsg,omitempty" tf:"agent_send_unutilized_msg"`
	// +optional
	Baseline *bool `json:"baseline,omitempty" tf:"baseline"`
	// +optional
	EdgeHubMemOptimize *bool `json:"edgeHubMemOptimize,omitempty" tf:"edge_hub_mem_optimize"`
	// +optional
	EdgeLoggingOption *bool `json:"edgeLoggingOption,omitempty" tf:"edge_logging_option"`
	// +optional
	InconsistentModuleSettings *bool `json:"inconsistentModuleSettings,omitempty" tf:"inconsistent_module_settings"`
	// +optional
	InstallAgent *bool `json:"installAgent,omitempty" tf:"install_agent"`
	// +optional
	IpFilterDenyAll *bool `json:"ipFilterDenyAll,omitempty" tf:"ip_filter_deny_all"`
	// +optional
	IpFilterPermissiveRule *bool `json:"ipFilterPermissiveRule,omitempty" tf:"ip_filter_permissive_rule"`
	// +optional
	OpenPorts *bool `json:"openPorts,omitempty" tf:"open_ports"`
	// +optional
	PermissiveFirewallPolicy *bool `json:"permissiveFirewallPolicy,omitempty" tf:"permissive_firewall_policy"`
	// +optional
	PermissiveInputFirewallRules *bool `json:"permissiveInputFirewallRules,omitempty" tf:"permissive_input_firewall_rules"`
	// +optional
	PermissiveOutputFirewallRules *bool `json:"permissiveOutputFirewallRules,omitempty" tf:"permissive_output_firewall_rules"`
	// +optional
	PrivilegedDockerOptions *bool `json:"privilegedDockerOptions,omitempty" tf:"privileged_docker_options"`
	// +optional
	SharedCredentials *bool `json:"sharedCredentials,omitempty" tf:"shared_credentials"`
	// +optional
	VulnerableTlsCipherSuite *bool `json:"vulnerableTlsCipherSuite,omitempty" tf:"vulnerable_tls_cipher_suite"`
}

func (*SolutionSpecRecommendationsEnabled) DeepCopy

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

func (*SolutionSpecRecommendationsEnabled) DeepCopyInto

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

type SolutionSpecRecommendationsEnabledCodec

type SolutionSpecRecommendationsEnabledCodec struct {
}

+k8s:deepcopy-gen=false

func (SolutionSpecRecommendationsEnabledCodec) Decode

func (SolutionSpecRecommendationsEnabledCodec) Encode

func (SolutionSpecRecommendationsEnabledCodec) IsEmpty

type SolutionSpecResource

type SolutionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AdditionalWorkspace []SolutionSpecAdditionalWorkspace `json:"additionalWorkspace,omitempty" tf:"additional_workspace"`
	// +optional
	DisabledDataSources []string `json:"disabledDataSources,omitempty" tf:"disabled_data_sources"`
	DisplayName         *string  `json:"displayName" tf:"display_name"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	EventsToExport []string `json:"eventsToExport,omitempty" tf:"events_to_export"`
	IothubIDS      []string `json:"iothubIDS" tf:"iothub_ids"`
	Location       *string  `json:"location" tf:"location"`
	// +optional
	LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceID,omitempty" tf:"log_analytics_workspace_id"`
	// +optional
	LogUnmaskedIPSEnabled *bool   `json:"logUnmaskedIPSEnabled,omitempty" tf:"log_unmasked_ips_enabled"`
	Name                  *string `json:"name" tf:"name"`
	// +optional
	QueryForResources *string `json:"queryForResources,omitempty" tf:"query_for_resources"`
	// +optional
	QuerySubscriptionIDS []string `json:"querySubscriptionIDS,omitempty" tf:"query_subscription_ids"`
	// +optional
	RecommendationsEnabled *SolutionSpecRecommendationsEnabled `json:"recommendationsEnabled,omitempty" tf:"recommendations_enabled"`
	ResourceGroupName      *string                             `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*SolutionSpecResource) DeepCopy

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

func (*SolutionSpecResource) DeepCopyInto

func (in *SolutionSpecResource) DeepCopyInto(out *SolutionSpecResource)

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

type SolutionStatus

type SolutionStatus 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 (*SolutionStatus) DeepCopy

func (in *SolutionStatus) DeepCopy() *SolutionStatus

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

func (*SolutionStatus) DeepCopyInto

func (in *SolutionStatus) DeepCopyInto(out *SolutionStatus)

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