policygroups

package
v0.0.0-...-b7f4efd Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiType

type ApiType string

+kubebuilder:validation:Enum=MESSAGE;PROXY;NATIVE;

type FlowPhase

type FlowPhase string

+kubebuilder:validation:Enum=REQUEST;RESPONSE;INTERACT;CONNECT;PUBLISH;SUBSCRIBE;

type SharedPolicyGroup

type SharedPolicyGroup struct {
	// CrossID to export SharedPolicyGroup into different environments
	CrossID *string `json:"crossId,omitempty"`
	// SharedPolicyGroup name
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// SharedPolicyGroup description
	Description *string `json:"description,omitempty"`
	// SharedPolicyGroup prerequisite Message
	PrerequisiteMessage *string `json:"prerequisiteMessage,omitempty"`
	// Specify the SharedPolicyGroup ApiType
	// +kubebuilder:validation:Required
	ApiType ApiType `json:"apiType"`
	// SharedPolicyGroup phase (REQUEST;RESPONSE;INTERACT;CONNECT;PUBLISH;SUBSCRIBE)
	// +kubebuilder:validation:Required
	Phase *FlowPhase `json:"phase"`
	// SharedPolicyGroup Steps
	Steps []*Step `json:"steps,omitempty"`
}

func (*SharedPolicyGroup) DeepCopy

func (in *SharedPolicyGroup) DeepCopy() *SharedPolicyGroup

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

func (*SharedPolicyGroup) DeepCopyInto

func (in *SharedPolicyGroup) DeepCopyInto(out *SharedPolicyGroup)

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

type Status

type Status struct {
	// The organization ID, if a management context has been defined to sync with an APIM instance
	OrgID string `json:"organizationId,omitempty"`
	// The environment ID, if a management context has been defined to sync with an APIM instance
	EnvID string `json:"environmentId,omitempty"`
	// The Cross ID is used to identify an SharedPolicyGroup that has been promoted from one environment to another.
	CrossID string `json:"crossId,omitempty"`
	// The ID is used to identify an SharedPolicyGroup which is unique in any environment.
	ID string `json:"id,omitempty"`
	// The processing status of the SharedPolicyGroup.
	// The value is `Completed` if the sync with APIM succeeded, Failed otherwise.
	ProcessingStatus core.ProcessingStatus `json:"processingStatus,omitempty"`
	// When SharedPolicyGroup has been created regardless of errors, this field is
	// used to persist the error message encountered during admission
	Errors status.Errors `json:"errors,omitempty"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

type Step

type Step struct {
	// +kubebuilder:default:=true
	// Indicate if this FlowStep is enabled or not
	Enabled bool `json:"enabled"`
	// FlowStep policy
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty"`
	// FlowStep name
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`
	// FlowStep description
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty"`
	// FlowStep configuration is a map of arbitrary key-values
	// +kubebuilder:validation:Optional
	Configuration *utils.GenericStringMap `json:"configuration,omitempty"`
	// FlowStep condition
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty"`
}

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

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