configmanagementpb

package
v0.0.0-...-2f67a70 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeploymentState_name = map[int32]string{
		0: "DEPLOYMENT_STATE_UNSPECIFIED",
		1: "NOT_INSTALLED",
		2: "INSTALLED",
		3: "ERROR",
		4: "PENDING",
	}
	DeploymentState_value = map[string]int32{
		"DEPLOYMENT_STATE_UNSPECIFIED": 0,
		"NOT_INSTALLED":                1,
		"INSTALLED":                    2,
		"ERROR":                        3,
		"PENDING":                      4,
	}
)

Enum value maps for DeploymentState.

View Source
var (
	MembershipSpec_Management_name = map[int32]string{
		0: "MANAGEMENT_UNSPECIFIED",
		1: "MANAGEMENT_AUTOMATIC",
		2: "MANAGEMENT_MANUAL",
	}
	MembershipSpec_Management_value = map[string]int32{
		"MANAGEMENT_UNSPECIFIED": 0,
		"MANAGEMENT_AUTOMATIC":   1,
		"MANAGEMENT_MANUAL":      2,
	}
)

Enum value maps for MembershipSpec_Management.

View Source
var (
	PolicyControllerMonitoring_MonitoringBackend_name = map[int32]string{
		0: "MONITORING_BACKEND_UNSPECIFIED",
		1: "PROMETHEUS",
		2: "CLOUD_MONITORING",
	}
	PolicyControllerMonitoring_MonitoringBackend_value = map[string]int32{
		"MONITORING_BACKEND_UNSPECIFIED": 0,
		"PROMETHEUS":                     1,
		"CLOUD_MONITORING":               2,
	}
)

Enum value maps for PolicyControllerMonitoring_MonitoringBackend.

View Source
var (
	ConfigSyncState_CRDState_name = map[int32]string{
		0: "CRD_STATE_UNSPECIFIED",
		1: "NOT_INSTALLED",
		2: "INSTALLED",
		3: "TERMINATING",
		4: "INSTALLING",
	}
	ConfigSyncState_CRDState_value = map[string]int32{
		"CRD_STATE_UNSPECIFIED": 0,
		"NOT_INSTALLED":         1,
		"INSTALLED":             2,
		"TERMINATING":           3,
		"INSTALLING":            4,
	}
)

Enum value maps for ConfigSyncState_CRDState.

View Source
var (
	ConfigSyncState_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CONFIG_SYNC_NOT_INSTALLED",
		2: "CONFIG_SYNC_INSTALLED",
		3: "CONFIG_SYNC_ERROR",
		4: "CONFIG_SYNC_PENDING",
	}
	ConfigSyncState_State_value = map[string]int32{
		"STATE_UNSPECIFIED":         0,
		"CONFIG_SYNC_NOT_INSTALLED": 1,
		"CONFIG_SYNC_INSTALLED":     2,
		"CONFIG_SYNC_ERROR":         3,
		"CONFIG_SYNC_PENDING":       4,
	}
)

Enum value maps for ConfigSyncState_State.

View Source
var (
	ConfigSyncState_StopSyncingState_name = map[int32]string{
		0: "STOP_SYNCING_STATE_UNSPECIFIED",
		1: "NOT_STOPPED",
		2: "PENDING",
		3: "STOPPED",
	}
	ConfigSyncState_StopSyncingState_value = map[string]int32{
		"STOP_SYNCING_STATE_UNSPECIFIED": 0,
		"NOT_STOPPED":                    1,
		"PENDING":                        2,
		"STOPPED":                        3,
	}
)

Enum value maps for ConfigSyncState_StopSyncingState.

View Source
var (
	SyncState_SyncCode_name = map[int32]string{
		0: "SYNC_CODE_UNSPECIFIED",
		1: "SYNCED",
		2: "PENDING",
		3: "ERROR",
		4: "NOT_CONFIGURED",
		5: "NOT_INSTALLED",
		6: "UNAUTHORIZED",
		7: "UNREACHABLE",
	}
	SyncState_SyncCode_value = map[string]int32{
		"SYNC_CODE_UNSPECIFIED": 0,
		"SYNCED":                1,
		"PENDING":               2,
		"ERROR":                 3,
		"NOT_CONFIGURED":        4,
		"NOT_INSTALLED":         5,
		"UNAUTHORIZED":          6,
		"UNREACHABLE":           7,
	}
)

Enum value maps for SyncState_SyncCode.

View Source
var (
	PolicyControllerMigration_Stage_name = map[int32]string{
		0: "STAGE_UNSPECIFIED",
		1: "ACM_MANAGED",
		2: "POCO_MANAGED",
	}
	PolicyControllerMigration_Stage_value = map[string]int32{
		"STAGE_UNSPECIFIED": 0,
		"ACM_MANAGED":       1,
		"POCO_MANAGED":      2,
	}
)

Enum value maps for PolicyControllerMigration_Stage.

View Source
var File_mockgcp_cloud_gkehub_v1beta_configmanagement_configmanagement_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BinauthzConfig

type BinauthzConfig struct {

	// Whether binauthz is enabled in this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Binauthz

func (*BinauthzConfig) Descriptor deprecated

func (*BinauthzConfig) Descriptor() ([]byte, []int)

Deprecated: Use BinauthzConfig.ProtoReflect.Descriptor instead.

func (*BinauthzConfig) GetEnabled

func (x *BinauthzConfig) GetEnabled() bool

func (*BinauthzConfig) ProtoMessage

func (*BinauthzConfig) ProtoMessage()

func (*BinauthzConfig) ProtoReflect

func (x *BinauthzConfig) ProtoReflect() protoreflect.Message

func (*BinauthzConfig) Reset

func (x *BinauthzConfig) Reset()

func (*BinauthzConfig) String

func (x *BinauthzConfig) String() string

type BinauthzState

type BinauthzState struct {

	// The state of the binauthz webhook.
	Webhook DeploymentState `` /* 134-byte string literal not displayed */
	// The version of binauthz that is installed.
	Version *BinauthzVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

State for Binauthz

func (*BinauthzState) Descriptor deprecated

func (*BinauthzState) Descriptor() ([]byte, []int)

Deprecated: Use BinauthzState.ProtoReflect.Descriptor instead.

func (*BinauthzState) GetVersion

func (x *BinauthzState) GetVersion() *BinauthzVersion

func (*BinauthzState) GetWebhook

func (x *BinauthzState) GetWebhook() DeploymentState

func (*BinauthzState) ProtoMessage

func (*BinauthzState) ProtoMessage()

func (*BinauthzState) ProtoReflect

func (x *BinauthzState) ProtoReflect() protoreflect.Message

func (*BinauthzState) Reset

func (x *BinauthzState) Reset()

func (*BinauthzState) String

func (x *BinauthzState) String() string

type BinauthzVersion

type BinauthzVersion struct {

	// The version of the binauthz webhook.
	WebhookVersion string `protobuf:"bytes,1,opt,name=webhook_version,json=webhookVersion,proto3" json:"webhook_version,omitempty"`
	// contains filtered or unexported fields
}

The version of binauthz.

func (*BinauthzVersion) Descriptor deprecated

func (*BinauthzVersion) Descriptor() ([]byte, []int)

Deprecated: Use BinauthzVersion.ProtoReflect.Descriptor instead.

func (*BinauthzVersion) GetWebhookVersion

func (x *BinauthzVersion) GetWebhookVersion() string

func (*BinauthzVersion) ProtoMessage

func (*BinauthzVersion) ProtoMessage()

func (*BinauthzVersion) ProtoReflect

func (x *BinauthzVersion) ProtoReflect() protoreflect.Message

func (*BinauthzVersion) Reset

func (x *BinauthzVersion) Reset()

func (*BinauthzVersion) String

func (x *BinauthzVersion) String() string

type ConfigSync

type ConfigSync struct {

	// Optional. Git repo configuration for the cluster.
	Git *GitConfig `protobuf:"bytes,7,opt,name=git,proto3" json:"git,omitempty"`
	// Optional. Specifies whether the Config Sync Repo is
	// in "hierarchical" or "unstructured" mode.
	SourceFormat string `protobuf:"bytes,8,opt,name=source_format,json=sourceFormat,proto3" json:"source_format,omitempty"`
	// Optional. Enables the installation of ConfigSync.
	// If set to true, ConfigSync resources will be created and the other
	// ConfigSync fields will be applied if exist.
	// If set to false, all other ConfigSync fields will be ignored, ConfigSync
	// resources will be deleted.
	// If omitted, ConfigSync resources will be managed depends on the presence
	// of the git or oci field.
	Enabled *bool `protobuf:"varint,10,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// Optional. Set to true to enable the Config Sync admission webhook to
	// prevent drifts. If set to `false`, disables the Config Sync admission
	// webhook and does not prevent drifts.
	PreventDrift bool `protobuf:"varint,11,opt,name=prevent_drift,json=preventDrift,proto3" json:"prevent_drift,omitempty"`
	// Optional. OCI repo configuration for the cluster
	Oci *OciConfig `protobuf:"bytes,12,opt,name=oci,proto3" json:"oci,omitempty"`
	// Optional. Set to true to stop syncing configs for a single cluster.
	// Default to false.
	StopSyncing bool `protobuf:"varint,16,opt,name=stop_syncing,json=stopSyncing,proto3" json:"stop_syncing,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Config Sync

func (*ConfigSync) Descriptor deprecated

func (*ConfigSync) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSync.ProtoReflect.Descriptor instead.

func (*ConfigSync) GetEnabled

func (x *ConfigSync) GetEnabled() bool

func (*ConfigSync) GetGit

func (x *ConfigSync) GetGit() *GitConfig

func (*ConfigSync) GetOci

func (x *ConfigSync) GetOci() *OciConfig

func (*ConfigSync) GetPreventDrift

func (x *ConfigSync) GetPreventDrift() bool

func (*ConfigSync) GetSourceFormat

func (x *ConfigSync) GetSourceFormat() string

func (*ConfigSync) GetStopSyncing

func (x *ConfigSync) GetStopSyncing() bool

func (*ConfigSync) ProtoMessage

func (*ConfigSync) ProtoMessage()

func (*ConfigSync) ProtoReflect

func (x *ConfigSync) ProtoReflect() protoreflect.Message

func (*ConfigSync) Reset

func (x *ConfigSync) Reset()

func (*ConfigSync) String

func (x *ConfigSync) String() string

type ConfigSyncDeploymentState

type ConfigSyncDeploymentState struct {

	// Deployment state of the importer pod
	Importer DeploymentState `` /* 136-byte string literal not displayed */
	// Deployment state of the syncer pod
	Syncer DeploymentState `` /* 132-byte string literal not displayed */
	// Deployment state of the git-sync pod
	GitSync DeploymentState `` /* 149-byte string literal not displayed */
	// Deployment state of the monitor pod
	Monitor DeploymentState `` /* 134-byte string literal not displayed */
	// Deployment state of reconciler-manager pod
	ReconcilerManager DeploymentState `` /* 179-byte string literal not displayed */
	// Deployment state of root-reconciler
	RootReconciler DeploymentState `` /* 170-byte string literal not displayed */
	// Deployment state of admission-webhook
	AdmissionWebhook DeploymentState `` /* 176-byte string literal not displayed */
	// Deployment state of resource-group-controller-manager
	ResourceGroupControllerManager DeploymentState `` /* 222-byte string literal not displayed */
	// Deployment state of otel-collector
	OtelCollector DeploymentState `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

The state of ConfigSync's deployment on a cluster

func (*ConfigSyncDeploymentState) Descriptor deprecated

func (*ConfigSyncDeploymentState) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSyncDeploymentState.ProtoReflect.Descriptor instead.

func (*ConfigSyncDeploymentState) GetAdmissionWebhook

func (x *ConfigSyncDeploymentState) GetAdmissionWebhook() DeploymentState

func (*ConfigSyncDeploymentState) GetGitSync

func (*ConfigSyncDeploymentState) GetImporter

func (x *ConfigSyncDeploymentState) GetImporter() DeploymentState

func (*ConfigSyncDeploymentState) GetMonitor

func (*ConfigSyncDeploymentState) GetOtelCollector

func (x *ConfigSyncDeploymentState) GetOtelCollector() DeploymentState

func (*ConfigSyncDeploymentState) GetReconcilerManager

func (x *ConfigSyncDeploymentState) GetReconcilerManager() DeploymentState

func (*ConfigSyncDeploymentState) GetResourceGroupControllerManager

func (x *ConfigSyncDeploymentState) GetResourceGroupControllerManager() DeploymentState

func (*ConfigSyncDeploymentState) GetRootReconciler

func (x *ConfigSyncDeploymentState) GetRootReconciler() DeploymentState

func (*ConfigSyncDeploymentState) GetSyncer

func (*ConfigSyncDeploymentState) ProtoMessage

func (*ConfigSyncDeploymentState) ProtoMessage()

func (*ConfigSyncDeploymentState) ProtoReflect

func (*ConfigSyncDeploymentState) Reset

func (x *ConfigSyncDeploymentState) Reset()

func (*ConfigSyncDeploymentState) String

func (x *ConfigSyncDeploymentState) String() string

type ConfigSyncError

type ConfigSyncError struct {

	// A string representing the user facing error message
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Errors pertaining to the installation of Config Sync

func (*ConfigSyncError) Descriptor deprecated

func (*ConfigSyncError) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSyncError.ProtoReflect.Descriptor instead.

func (*ConfigSyncError) GetErrorMessage

func (x *ConfigSyncError) GetErrorMessage() string

func (*ConfigSyncError) ProtoMessage

func (*ConfigSyncError) ProtoMessage()

func (*ConfigSyncError) ProtoReflect

func (x *ConfigSyncError) ProtoReflect() protoreflect.Message

func (*ConfigSyncError) Reset

func (x *ConfigSyncError) Reset()

func (*ConfigSyncError) String

func (x *ConfigSyncError) String() string

type ConfigSyncState

type ConfigSyncState struct {

	// Output only. The version of ConfigSync deployed
	Version *ConfigSyncVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Output only. Information about the deployment of ConfigSync, including the
	// version of the various Pods deployed
	DeploymentState *ConfigSyncDeploymentState `protobuf:"bytes,2,opt,name=deployment_state,json=deploymentState,proto3" json:"deployment_state,omitempty"`
	// Output only. The state of ConfigSync's process to sync configs to a cluster
	SyncState *SyncState `protobuf:"bytes,3,opt,name=sync_state,json=syncState,proto3" json:"sync_state,omitempty"`
	// Output only. Errors pertaining to the installation of Config Sync.
	Errors []*ConfigSyncError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
	// Output only. The state of the RootSync CRD
	RootsyncCrd ConfigSyncState_CRDState `` /* 170-byte string literal not displayed */
	// Output only. The state of the Reposync CRD
	ReposyncCrd ConfigSyncState_CRDState `` /* 170-byte string literal not displayed */
	// Output only. The state of CS
	// This field summarizes the other fields in this message.
	State ConfigSyncState_State `` /* 136-byte string literal not displayed */
	// Output only. Whether syncing resources to the cluster is stopped at the
	// cluster level.
	ClusterLevelStopSyncingState ConfigSyncState_StopSyncingState `` /* 235-byte string literal not displayed */
	// Output only. The number of RootSync and RepoSync CRs in the cluster.
	CrCount int32 `protobuf:"varint,9,opt,name=cr_count,json=crCount,proto3" json:"cr_count,omitempty"`
	// contains filtered or unexported fields
}

State information for ConfigSync

func (*ConfigSyncState) Descriptor deprecated

func (*ConfigSyncState) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSyncState.ProtoReflect.Descriptor instead.

func (*ConfigSyncState) GetClusterLevelStopSyncingState

func (x *ConfigSyncState) GetClusterLevelStopSyncingState() ConfigSyncState_StopSyncingState

func (*ConfigSyncState) GetCrCount

func (x *ConfigSyncState) GetCrCount() int32

func (*ConfigSyncState) GetDeploymentState

func (x *ConfigSyncState) GetDeploymentState() *ConfigSyncDeploymentState

func (*ConfigSyncState) GetErrors

func (x *ConfigSyncState) GetErrors() []*ConfigSyncError

func (*ConfigSyncState) GetReposyncCrd

func (x *ConfigSyncState) GetReposyncCrd() ConfigSyncState_CRDState

func (*ConfigSyncState) GetRootsyncCrd

func (x *ConfigSyncState) GetRootsyncCrd() ConfigSyncState_CRDState

func (*ConfigSyncState) GetState

func (x *ConfigSyncState) GetState() ConfigSyncState_State

func (*ConfigSyncState) GetSyncState

func (x *ConfigSyncState) GetSyncState() *SyncState

func (*ConfigSyncState) GetVersion

func (x *ConfigSyncState) GetVersion() *ConfigSyncVersion

func (*ConfigSyncState) ProtoMessage

func (*ConfigSyncState) ProtoMessage()

func (*ConfigSyncState) ProtoReflect

func (x *ConfigSyncState) ProtoReflect() protoreflect.Message

func (*ConfigSyncState) Reset

func (x *ConfigSyncState) Reset()

func (*ConfigSyncState) String

func (x *ConfigSyncState) String() string

type ConfigSyncState_CRDState

type ConfigSyncState_CRDState int32

CRDState representing the state of a CRD

const (
	// CRD's state cannot be determined
	ConfigSyncState_CRD_STATE_UNSPECIFIED ConfigSyncState_CRDState = 0
	// CRD is not installed
	ConfigSyncState_NOT_INSTALLED ConfigSyncState_CRDState = 1
	// CRD is installed
	ConfigSyncState_INSTALLED ConfigSyncState_CRDState = 2
	// CRD is terminating (i.e., it has been deleted and is cleaning up)
	ConfigSyncState_TERMINATING ConfigSyncState_CRDState = 3
	// CRD is installing
	ConfigSyncState_INSTALLING ConfigSyncState_CRDState = 4
)

func (ConfigSyncState_CRDState) Descriptor

func (ConfigSyncState_CRDState) Enum

func (ConfigSyncState_CRDState) EnumDescriptor deprecated

func (ConfigSyncState_CRDState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigSyncState_CRDState.Descriptor instead.

func (ConfigSyncState_CRDState) Number

func (ConfigSyncState_CRDState) String

func (x ConfigSyncState_CRDState) String() string

func (ConfigSyncState_CRDState) Type

type ConfigSyncState_State

type ConfigSyncState_State int32

State of Config Sync

const (
	// CS's state cannot be determined.
	ConfigSyncState_STATE_UNSPECIFIED ConfigSyncState_State = 0
	// CS is not installed.
	ConfigSyncState_CONFIG_SYNC_NOT_INSTALLED ConfigSyncState_State = 1
	// The expected CS version is installed successfully.
	ConfigSyncState_CONFIG_SYNC_INSTALLED ConfigSyncState_State = 2
	// CS encounters errors.
	ConfigSyncState_CONFIG_SYNC_ERROR ConfigSyncState_State = 3
	// CS is installing or terminating.
	ConfigSyncState_CONFIG_SYNC_PENDING ConfigSyncState_State = 4
)

func (ConfigSyncState_State) Descriptor

func (ConfigSyncState_State) Enum

func (ConfigSyncState_State) EnumDescriptor deprecated

func (ConfigSyncState_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigSyncState_State.Descriptor instead.

func (ConfigSyncState_State) Number

func (ConfigSyncState_State) String

func (x ConfigSyncState_State) String() string

func (ConfigSyncState_State) Type

type ConfigSyncState_StopSyncingState

type ConfigSyncState_StopSyncingState int32

StopSyncingState representing Config Sync's status of syncing configs to a cluster

const (
	// State cannot be determined
	ConfigSyncState_STOP_SYNCING_STATE_UNSPECIFIED ConfigSyncState_StopSyncingState = 0
	// Syncing resources to the cluster is not stopped at the cluster level.
	ConfigSyncState_NOT_STOPPED ConfigSyncState_StopSyncingState = 1
	// Some reconcilers stop syncing resources to the cluster, while others are
	// still syncing.
	ConfigSyncState_PENDING ConfigSyncState_StopSyncingState = 2
	// Syncing resources to the cluster is stopped at the cluster level.
	ConfigSyncState_STOPPED ConfigSyncState_StopSyncingState = 3
)

func (ConfigSyncState_StopSyncingState) Descriptor

func (ConfigSyncState_StopSyncingState) Enum

func (ConfigSyncState_StopSyncingState) EnumDescriptor deprecated

func (ConfigSyncState_StopSyncingState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigSyncState_StopSyncingState.Descriptor instead.

func (ConfigSyncState_StopSyncingState) Number

func (ConfigSyncState_StopSyncingState) String

func (ConfigSyncState_StopSyncingState) Type

type ConfigSyncVersion

type ConfigSyncVersion struct {

	// Version of the deployed importer pod
	Importer string `protobuf:"bytes,1,opt,name=importer,proto3" json:"importer,omitempty"`
	// Version of the deployed syncer pod
	Syncer string `protobuf:"bytes,2,opt,name=syncer,proto3" json:"syncer,omitempty"`
	// Version of the deployed git-sync pod
	GitSync string `protobuf:"bytes,3,opt,name=git_sync,json=gitSync,proto3" json:"git_sync,omitempty"`
	// Version of the deployed monitor pod
	Monitor string `protobuf:"bytes,4,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// Version of the deployed reconciler-manager pod
	ReconcilerManager string `protobuf:"bytes,5,opt,name=reconciler_manager,json=reconcilerManager,proto3" json:"reconciler_manager,omitempty"`
	// Version of the deployed reconciler container in root-reconciler pod
	RootReconciler string `protobuf:"bytes,6,opt,name=root_reconciler,json=rootReconciler,proto3" json:"root_reconciler,omitempty"`
	// Version of the deployed admission-webhook pod
	AdmissionWebhook string `protobuf:"bytes,7,opt,name=admission_webhook,json=admissionWebhook,proto3" json:"admission_webhook,omitempty"`
	// Version of the deployed resource-group-controller-manager pod
	ResourceGroupControllerManager string `` /* 155-byte string literal not displayed */
	// Version of the deployed otel-collector pod
	OtelCollector string `protobuf:"bytes,9,opt,name=otel_collector,json=otelCollector,proto3" json:"otel_collector,omitempty"`
	// contains filtered or unexported fields
}

Specific versioning information pertaining to ConfigSync's Pods

func (*ConfigSyncVersion) Descriptor deprecated

func (*ConfigSyncVersion) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSyncVersion.ProtoReflect.Descriptor instead.

func (*ConfigSyncVersion) GetAdmissionWebhook

func (x *ConfigSyncVersion) GetAdmissionWebhook() string

func (*ConfigSyncVersion) GetGitSync

func (x *ConfigSyncVersion) GetGitSync() string

func (*ConfigSyncVersion) GetImporter

func (x *ConfigSyncVersion) GetImporter() string

func (*ConfigSyncVersion) GetMonitor

func (x *ConfigSyncVersion) GetMonitor() string

func (*ConfigSyncVersion) GetOtelCollector

func (x *ConfigSyncVersion) GetOtelCollector() string

func (*ConfigSyncVersion) GetReconcilerManager

func (x *ConfigSyncVersion) GetReconcilerManager() string

func (*ConfigSyncVersion) GetResourceGroupControllerManager

func (x *ConfigSyncVersion) GetResourceGroupControllerManager() string

func (*ConfigSyncVersion) GetRootReconciler

func (x *ConfigSyncVersion) GetRootReconciler() string

func (*ConfigSyncVersion) GetSyncer

func (x *ConfigSyncVersion) GetSyncer() string

func (*ConfigSyncVersion) ProtoMessage

func (*ConfigSyncVersion) ProtoMessage()

func (*ConfigSyncVersion) ProtoReflect

func (x *ConfigSyncVersion) ProtoReflect() protoreflect.Message

func (*ConfigSyncVersion) Reset

func (x *ConfigSyncVersion) Reset()

func (*ConfigSyncVersion) String

func (x *ConfigSyncVersion) String() string

type DeploymentState

type DeploymentState int32

Enum representing the state of an ACM's deployment on a cluster

const (
	// Deployment's state cannot be determined
	DeploymentState_DEPLOYMENT_STATE_UNSPECIFIED DeploymentState = 0
	// Deployment is not installed
	DeploymentState_NOT_INSTALLED DeploymentState = 1
	// Deployment is installed
	DeploymentState_INSTALLED DeploymentState = 2
	// Deployment was attempted to be installed, but has errors
	DeploymentState_ERROR DeploymentState = 3
	// Deployment is installing or terminating
	DeploymentState_PENDING DeploymentState = 4
)

func (DeploymentState) Descriptor

func (DeploymentState) Enum

func (x DeploymentState) Enum() *DeploymentState

func (DeploymentState) EnumDescriptor deprecated

func (DeploymentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeploymentState.Descriptor instead.

func (DeploymentState) Number

func (DeploymentState) String

func (x DeploymentState) String() string

func (DeploymentState) Type

type ErrorResource

type ErrorResource struct {

	// Path in the git repo of the erroneous config
	SourcePath string `protobuf:"bytes,1,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
	// Metadata name of the resource that is causing an error
	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Namespace of the resource that is causing an error
	ResourceNamespace string `protobuf:"bytes,3,opt,name=resource_namespace,json=resourceNamespace,proto3" json:"resource_namespace,omitempty"`
	// Group/version/kind of the resource that is causing an error
	ResourceGvk *GroupVersionKind `protobuf:"bytes,4,opt,name=resource_gvk,json=resourceGvk,proto3" json:"resource_gvk,omitempty"`
	// contains filtered or unexported fields
}

Model for a config file in the git repo with an associated Sync error

func (*ErrorResource) Descriptor deprecated

func (*ErrorResource) Descriptor() ([]byte, []int)

Deprecated: Use ErrorResource.ProtoReflect.Descriptor instead.

func (*ErrorResource) GetResourceGvk

func (x *ErrorResource) GetResourceGvk() *GroupVersionKind

func (*ErrorResource) GetResourceName

func (x *ErrorResource) GetResourceName() string

func (*ErrorResource) GetResourceNamespace

func (x *ErrorResource) GetResourceNamespace() string

func (*ErrorResource) GetSourcePath

func (x *ErrorResource) GetSourcePath() string

func (*ErrorResource) ProtoMessage

func (*ErrorResource) ProtoMessage()

func (*ErrorResource) ProtoReflect

func (x *ErrorResource) ProtoReflect() protoreflect.Message

func (*ErrorResource) Reset

func (x *ErrorResource) Reset()

func (*ErrorResource) String

func (x *ErrorResource) String() string

type GatekeeperDeploymentState

type GatekeeperDeploymentState struct {

	// Status of gatekeeper-controller-manager pod.
	GatekeeperControllerManagerState DeploymentState `` /* 228-byte string literal not displayed */
	// Status of gatekeeper-audit deployment.
	GatekeeperAudit DeploymentState `` /* 173-byte string literal not displayed */
	// Status of the pod serving the mutation webhook.
	GatekeeperMutation DeploymentState `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

State of Policy Controller installation.

func (*GatekeeperDeploymentState) Descriptor deprecated

func (*GatekeeperDeploymentState) Descriptor() ([]byte, []int)

Deprecated: Use GatekeeperDeploymentState.ProtoReflect.Descriptor instead.

func (*GatekeeperDeploymentState) GetGatekeeperAudit

func (x *GatekeeperDeploymentState) GetGatekeeperAudit() DeploymentState

func (*GatekeeperDeploymentState) GetGatekeeperControllerManagerState

func (x *GatekeeperDeploymentState) GetGatekeeperControllerManagerState() DeploymentState

func (*GatekeeperDeploymentState) GetGatekeeperMutation

func (x *GatekeeperDeploymentState) GetGatekeeperMutation() DeploymentState

func (*GatekeeperDeploymentState) ProtoMessage

func (*GatekeeperDeploymentState) ProtoMessage()

func (*GatekeeperDeploymentState) ProtoReflect

func (*GatekeeperDeploymentState) Reset

func (x *GatekeeperDeploymentState) Reset()

func (*GatekeeperDeploymentState) String

func (x *GatekeeperDeploymentState) String() string

type GitConfig

type GitConfig struct {

	// Required. The URL of the Git repository to use as the source of truth.
	SyncRepo string `protobuf:"bytes,1,opt,name=sync_repo,json=syncRepo,proto3" json:"sync_repo,omitempty"`
	// Optional. The branch of the repository to sync from. Default: master.
	SyncBranch string `protobuf:"bytes,2,opt,name=sync_branch,json=syncBranch,proto3" json:"sync_branch,omitempty"`
	// Optional. The path within the Git repository that represents the top level
	// of the repo to sync. Default: the root directory of the repository.
	PolicyDir string `protobuf:"bytes,3,opt,name=policy_dir,json=policyDir,proto3" json:"policy_dir,omitempty"`
	// Optional. Period in seconds between consecutive syncs. Default: 15.
	SyncWaitSecs int64 `protobuf:"varint,4,opt,name=sync_wait_secs,json=syncWaitSecs,proto3" json:"sync_wait_secs,omitempty"`
	// Optional. Git revision (tag or hash) to check out. Default HEAD.
	SyncRev string `protobuf:"bytes,5,opt,name=sync_rev,json=syncRev,proto3" json:"sync_rev,omitempty"`
	// Required. Type of secret configured for access to the Git repo.
	// Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount,
	// githubapp or none.
	// The validation of this is case-sensitive.
	SecretType string `protobuf:"bytes,6,opt,name=secret_type,json=secretType,proto3" json:"secret_type,omitempty"`
	// Optional. URL for the HTTPS proxy to be used when communicating with the
	// Git repo.
	HttpsProxy string `protobuf:"bytes,7,opt,name=https_proxy,json=httpsProxy,proto3" json:"https_proxy,omitempty"`
	// Optional. The Google Cloud Service Account Email used for auth when
	// secret_type is gcpServiceAccount.
	GcpServiceAccountEmail string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Git repo configuration for a single cluster.

func (*GitConfig) Descriptor deprecated

func (*GitConfig) Descriptor() ([]byte, []int)

Deprecated: Use GitConfig.ProtoReflect.Descriptor instead.

func (*GitConfig) GetGcpServiceAccountEmail

func (x *GitConfig) GetGcpServiceAccountEmail() string

func (*GitConfig) GetHttpsProxy

func (x *GitConfig) GetHttpsProxy() string

func (*GitConfig) GetPolicyDir

func (x *GitConfig) GetPolicyDir() string

func (*GitConfig) GetSecretType

func (x *GitConfig) GetSecretType() string

func (*GitConfig) GetSyncBranch

func (x *GitConfig) GetSyncBranch() string

func (*GitConfig) GetSyncRepo

func (x *GitConfig) GetSyncRepo() string

func (*GitConfig) GetSyncRev

func (x *GitConfig) GetSyncRev() string

func (*GitConfig) GetSyncWaitSecs

func (x *GitConfig) GetSyncWaitSecs() int64

func (*GitConfig) ProtoMessage

func (*GitConfig) ProtoMessage()

func (*GitConfig) ProtoReflect

func (x *GitConfig) ProtoReflect() protoreflect.Message

func (*GitConfig) Reset

func (x *GitConfig) Reset()

func (*GitConfig) String

func (x *GitConfig) String() string

type GroupVersionKind

type GroupVersionKind struct {

	// Kubernetes Group
	Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// Kubernetes Version
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Kubernetes Kind
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

A Kubernetes object's GVK

func (*GroupVersionKind) Descriptor deprecated

func (*GroupVersionKind) Descriptor() ([]byte, []int)

Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.

func (*GroupVersionKind) GetGroup

func (x *GroupVersionKind) GetGroup() string

func (*GroupVersionKind) GetKind

func (x *GroupVersionKind) GetKind() string

func (*GroupVersionKind) GetVersion

func (x *GroupVersionKind) GetVersion() string

func (*GroupVersionKind) ProtoMessage

func (*GroupVersionKind) ProtoMessage()

func (*GroupVersionKind) ProtoReflect

func (x *GroupVersionKind) ProtoReflect() protoreflect.Message

func (*GroupVersionKind) Reset

func (x *GroupVersionKind) Reset()

func (*GroupVersionKind) String

func (x *GroupVersionKind) String() string

type HierarchyControllerConfig

type HierarchyControllerConfig struct {

	// Whether Hierarchy Controller is enabled in this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Whether pod tree labels are enabled in this cluster.
	EnablePodTreeLabels bool `protobuf:"varint,2,opt,name=enable_pod_tree_labels,json=enablePodTreeLabels,proto3" json:"enable_pod_tree_labels,omitempty"`
	// Whether hierarchical resource quota is enabled in this cluster.
	EnableHierarchicalResourceQuota bool `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for Hierarchy Controller

func (*HierarchyControllerConfig) Descriptor deprecated

func (*HierarchyControllerConfig) Descriptor() ([]byte, []int)

Deprecated: Use HierarchyControllerConfig.ProtoReflect.Descriptor instead.

func (*HierarchyControllerConfig) GetEnableHierarchicalResourceQuota

func (x *HierarchyControllerConfig) GetEnableHierarchicalResourceQuota() bool

func (*HierarchyControllerConfig) GetEnablePodTreeLabels

func (x *HierarchyControllerConfig) GetEnablePodTreeLabels() bool

func (*HierarchyControllerConfig) GetEnabled

func (x *HierarchyControllerConfig) GetEnabled() bool

func (*HierarchyControllerConfig) ProtoMessage

func (*HierarchyControllerConfig) ProtoMessage()

func (*HierarchyControllerConfig) ProtoReflect

func (*HierarchyControllerConfig) Reset

func (x *HierarchyControllerConfig) Reset()

func (*HierarchyControllerConfig) String

func (x *HierarchyControllerConfig) String() string

type HierarchyControllerDeploymentState

type HierarchyControllerDeploymentState struct {

	// The deployment state for open source HNC (e.g. v0.7.0-hc.0)
	Hnc DeploymentState `` /* 126-byte string literal not displayed */
	// The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
	Extension DeploymentState `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deployment state for Hierarchy Controller

func (*HierarchyControllerDeploymentState) Descriptor deprecated

func (*HierarchyControllerDeploymentState) Descriptor() ([]byte, []int)

Deprecated: Use HierarchyControllerDeploymentState.ProtoReflect.Descriptor instead.

func (*HierarchyControllerDeploymentState) GetExtension

func (*HierarchyControllerDeploymentState) GetHnc

func (*HierarchyControllerDeploymentState) ProtoMessage

func (*HierarchyControllerDeploymentState) ProtoMessage()

func (*HierarchyControllerDeploymentState) ProtoReflect

func (*HierarchyControllerDeploymentState) Reset

func (*HierarchyControllerDeploymentState) String

type HierarchyControllerState

type HierarchyControllerState struct {

	// The version for Hierarchy Controller
	Version *HierarchyControllerVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The deployment state for Hierarchy Controller
	State *HierarchyControllerDeploymentState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

State for Hierarchy Controller

func (*HierarchyControllerState) Descriptor deprecated

func (*HierarchyControllerState) Descriptor() ([]byte, []int)

Deprecated: Use HierarchyControllerState.ProtoReflect.Descriptor instead.

func (*HierarchyControllerState) GetState

func (*HierarchyControllerState) GetVersion

func (*HierarchyControllerState) ProtoMessage

func (*HierarchyControllerState) ProtoMessage()

func (*HierarchyControllerState) ProtoReflect

func (x *HierarchyControllerState) ProtoReflect() protoreflect.Message

func (*HierarchyControllerState) Reset

func (x *HierarchyControllerState) Reset()

func (*HierarchyControllerState) String

func (x *HierarchyControllerState) String() string

type HierarchyControllerVersion

type HierarchyControllerVersion struct {

	// Version for open source HNC
	Hnc string `protobuf:"bytes,1,opt,name=hnc,proto3" json:"hnc,omitempty"`
	// Version for Hierarchy Controller extension
	Extension string `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

Version for Hierarchy Controller

func (*HierarchyControllerVersion) Descriptor deprecated

func (*HierarchyControllerVersion) Descriptor() ([]byte, []int)

Deprecated: Use HierarchyControllerVersion.ProtoReflect.Descriptor instead.

func (*HierarchyControllerVersion) GetExtension

func (x *HierarchyControllerVersion) GetExtension() string

func (*HierarchyControllerVersion) GetHnc

func (x *HierarchyControllerVersion) GetHnc() string

func (*HierarchyControllerVersion) ProtoMessage

func (*HierarchyControllerVersion) ProtoMessage()

func (*HierarchyControllerVersion) ProtoReflect

func (*HierarchyControllerVersion) Reset

func (x *HierarchyControllerVersion) Reset()

func (*HierarchyControllerVersion) String

func (x *HierarchyControllerVersion) String() string

type InstallError

type InstallError struct {

	// A string representing the user facing error message
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Errors pertaining to the installation of ACM

func (*InstallError) Descriptor deprecated

func (*InstallError) Descriptor() ([]byte, []int)

Deprecated: Use InstallError.ProtoReflect.Descriptor instead.

func (*InstallError) GetErrorMessage

func (x *InstallError) GetErrorMessage() string

func (*InstallError) ProtoMessage

func (*InstallError) ProtoMessage()

func (*InstallError) ProtoReflect

func (x *InstallError) ProtoReflect() protoreflect.Message

func (*InstallError) Reset

func (x *InstallError) Reset()

func (*InstallError) String

func (x *InstallError) String() string

type MembershipSpec

type MembershipSpec struct {

	// Optional. Config Sync configuration for the cluster.
	ConfigSync *ConfigSync `protobuf:"bytes,1,opt,name=config_sync,json=configSync,proto3" json:"config_sync,omitempty"`
	// Optional. Policy Controller configuration for the cluster.
	// Deprecated: Configuring Policy Controller through the configmanagement
	// feature is no longer recommended. Use the policycontroller feature instead.
	//
	// Deprecated: Do not use.
	PolicyController *PolicyController `protobuf:"bytes,2,opt,name=policy_controller,json=policyController,proto3" json:"policy_controller,omitempty"`
	// Optional. Binauthz conifguration for the cluster. Deprecated: This field
	// will be ignored and should not be set.
	//
	// Deprecated: Do not use.
	Binauthz *BinauthzConfig `protobuf:"bytes,3,opt,name=binauthz,proto3" json:"binauthz,omitempty"`
	// Optional. Hierarchy Controller configuration for the cluster.
	// Deprecated: Configuring Hierarchy Controller through the configmanagement
	// feature is no longer recommended. Use
	// https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
	//
	// Deprecated: Do not use.
	HierarchyController *HierarchyControllerConfig `protobuf:"bytes,4,opt,name=hierarchy_controller,json=hierarchyController,proto3" json:"hierarchy_controller,omitempty"`
	// Optional. Version of ACM installed.
	Version string `protobuf:"bytes,10,opt,name=version,proto3" json:"version,omitempty"`
	// Optional. The user-specified cluster name used by Config Sync
	// cluster-name-selector annotation or ClusterSelector, for applying configs
	// to only a subset of clusters. Omit this field if the cluster's fleet
	// membership name is used by Config Sync cluster-name-selector annotation or
	// ClusterSelector. Set this field if a name different from the cluster's
	// fleet membership name is used by Config Sync cluster-name-selector
	// annotation or ClusterSelector.
	Cluster string `protobuf:"bytes,11,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. Enables automatic Feature management.
	Management MembershipSpec_Management `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.

func (*MembershipSpec) Descriptor deprecated

func (*MembershipSpec) Descriptor() ([]byte, []int)

Deprecated: Use MembershipSpec.ProtoReflect.Descriptor instead.

func (*MembershipSpec) GetBinauthz deprecated

func (x *MembershipSpec) GetBinauthz() *BinauthzConfig

Deprecated: Do not use.

func (*MembershipSpec) GetCluster

func (x *MembershipSpec) GetCluster() string

func (*MembershipSpec) GetConfigSync

func (x *MembershipSpec) GetConfigSync() *ConfigSync

func (*MembershipSpec) GetHierarchyController deprecated

func (x *MembershipSpec) GetHierarchyController() *HierarchyControllerConfig

Deprecated: Do not use.

func (*MembershipSpec) GetManagement

func (x *MembershipSpec) GetManagement() MembershipSpec_Management

func (*MembershipSpec) GetPolicyController deprecated

func (x *MembershipSpec) GetPolicyController() *PolicyController

Deprecated: Do not use.

func (*MembershipSpec) GetVersion

func (x *MembershipSpec) GetVersion() string

func (*MembershipSpec) ProtoMessage

func (*MembershipSpec) ProtoMessage()

func (*MembershipSpec) ProtoReflect

func (x *MembershipSpec) ProtoReflect() protoreflect.Message

func (*MembershipSpec) Reset

func (x *MembershipSpec) Reset()

func (*MembershipSpec) String

func (x *MembershipSpec) String() string

type MembershipSpec_Management

type MembershipSpec_Management int32

Whether to automatically manage the Feature.

const (
	// Unspecified
	MembershipSpec_MANAGEMENT_UNSPECIFIED MembershipSpec_Management = 0
	// Google will manage the Feature for the cluster.
	MembershipSpec_MANAGEMENT_AUTOMATIC MembershipSpec_Management = 1
	// User will manually manage the Feature for the cluster.
	MembershipSpec_MANAGEMENT_MANUAL MembershipSpec_Management = 2
)

func (MembershipSpec_Management) Descriptor

func (MembershipSpec_Management) Enum

func (MembershipSpec_Management) EnumDescriptor deprecated

func (MembershipSpec_Management) EnumDescriptor() ([]byte, []int)

Deprecated: Use MembershipSpec_Management.Descriptor instead.

func (MembershipSpec_Management) Number

func (MembershipSpec_Management) String

func (x MembershipSpec_Management) String() string

func (MembershipSpec_Management) Type

type MembershipState

type MembershipState struct {

	// Output only. This field is set to the `cluster_name` field of the
	// Membership Spec if it is not empty. Otherwise, it is set to the cluster's
	// fleet membership name.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// Output only. Membership configuration in the cluster. This represents the
	// actual state in the cluster, while the MembershipSpec in the FeatureSpec
	// represents the intended state
	MembershipSpec *MembershipSpec `protobuf:"bytes,2,opt,name=membership_spec,json=membershipSpec,proto3" json:"membership_spec,omitempty"`
	// Output only. Current install status of ACM's Operator
	OperatorState *OperatorState `protobuf:"bytes,3,opt,name=operator_state,json=operatorState,proto3" json:"operator_state,omitempty"`
	// Output only. Current sync status
	ConfigSyncState *ConfigSyncState `protobuf:"bytes,4,opt,name=config_sync_state,json=configSyncState,proto3" json:"config_sync_state,omitempty"`
	// Output only. PolicyController status
	PolicyControllerState *PolicyControllerState `` /* 126-byte string literal not displayed */
	// Output only. Binauthz status
	BinauthzState *BinauthzState `protobuf:"bytes,6,opt,name=binauthz_state,json=binauthzState,proto3" json:"binauthz_state,omitempty"`
	// Output only. Hierarchy Controller status
	HierarchyControllerState *HierarchyControllerState `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

**Anthos Config Management**: State for a single cluster.

func (*MembershipState) Descriptor deprecated

func (*MembershipState) Descriptor() ([]byte, []int)

Deprecated: Use MembershipState.ProtoReflect.Descriptor instead.

func (*MembershipState) GetBinauthzState

func (x *MembershipState) GetBinauthzState() *BinauthzState

func (*MembershipState) GetClusterName

func (x *MembershipState) GetClusterName() string

func (*MembershipState) GetConfigSyncState

func (x *MembershipState) GetConfigSyncState() *ConfigSyncState

func (*MembershipState) GetHierarchyControllerState

func (x *MembershipState) GetHierarchyControllerState() *HierarchyControllerState

func (*MembershipState) GetMembershipSpec

func (x *MembershipState) GetMembershipSpec() *MembershipSpec

func (*MembershipState) GetOperatorState

func (x *MembershipState) GetOperatorState() *OperatorState

func (*MembershipState) GetPolicyControllerState

func (x *MembershipState) GetPolicyControllerState() *PolicyControllerState

func (*MembershipState) ProtoMessage

func (*MembershipState) ProtoMessage()

func (*MembershipState) ProtoReflect

func (x *MembershipState) ProtoReflect() protoreflect.Message

func (*MembershipState) Reset

func (x *MembershipState) Reset()

func (*MembershipState) String

func (x *MembershipState) String() string

type OciConfig

type OciConfig struct {

	// Required. The OCI image repository URL for the package to sync from.
	// e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
	SyncRepo string `protobuf:"bytes,1,opt,name=sync_repo,json=syncRepo,proto3" json:"sync_repo,omitempty"`
	// Optional. The absolute path of the directory that contains
	// the local resources.  Default: the root directory of the image.
	PolicyDir string `protobuf:"bytes,2,opt,name=policy_dir,json=policyDir,proto3" json:"policy_dir,omitempty"`
	// Optional. Period in seconds between consecutive syncs. Default: 15.
	SyncWaitSecs int64 `protobuf:"varint,3,opt,name=sync_wait_secs,json=syncWaitSecs,proto3" json:"sync_wait_secs,omitempty"`
	// Required. Type of secret configured for access to the OCI repo.
	// Must be one of gcenode, gcpserviceaccount, k8sserviceaccount or none.
	// The validation of this is case-sensitive.
	SecretType string `protobuf:"bytes,4,opt,name=secret_type,json=secretType,proto3" json:"secret_type,omitempty"`
	// Optional. The Google Cloud Service Account Email used for auth when
	// secret_type is gcpServiceAccount.
	GcpServiceAccountEmail string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

OCI repo configuration for a single cluster

func (*OciConfig) Descriptor deprecated

func (*OciConfig) Descriptor() ([]byte, []int)

Deprecated: Use OciConfig.ProtoReflect.Descriptor instead.

func (*OciConfig) GetGcpServiceAccountEmail

func (x *OciConfig) GetGcpServiceAccountEmail() string

func (*OciConfig) GetPolicyDir

func (x *OciConfig) GetPolicyDir() string

func (*OciConfig) GetSecretType

func (x *OciConfig) GetSecretType() string

func (*OciConfig) GetSyncRepo

func (x *OciConfig) GetSyncRepo() string

func (*OciConfig) GetSyncWaitSecs

func (x *OciConfig) GetSyncWaitSecs() int64

func (*OciConfig) ProtoMessage

func (*OciConfig) ProtoMessage()

func (*OciConfig) ProtoReflect

func (x *OciConfig) ProtoReflect() protoreflect.Message

func (*OciConfig) Reset

func (x *OciConfig) Reset()

func (*OciConfig) String

func (x *OciConfig) String() string

type OperatorState

type OperatorState struct {

	// The semenatic version number of the operator
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The state of the Operator's deployment
	DeploymentState DeploymentState `` /* 173-byte string literal not displayed */
	// Install errors.
	Errors []*InstallError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

State information for an ACM's Operator

func (*OperatorState) Descriptor deprecated

func (*OperatorState) Descriptor() ([]byte, []int)

Deprecated: Use OperatorState.ProtoReflect.Descriptor instead.

func (*OperatorState) GetDeploymentState

func (x *OperatorState) GetDeploymentState() DeploymentState

func (*OperatorState) GetErrors

func (x *OperatorState) GetErrors() []*InstallError

func (*OperatorState) GetVersion

func (x *OperatorState) GetVersion() string

func (*OperatorState) ProtoMessage

func (*OperatorState) ProtoMessage()

func (*OperatorState) ProtoReflect

func (x *OperatorState) ProtoReflect() protoreflect.Message

func (*OperatorState) Reset

func (x *OperatorState) Reset()

func (*OperatorState) String

func (x *OperatorState) String() string

type PolicyController

type PolicyController struct {

	// Enables the installation of Policy Controller.
	// If false, the rest of PolicyController fields take no
	// effect.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Installs the default template library along with Policy Controller.
	TemplateLibraryInstalled *bool `` /* 142-byte string literal not displayed */
	// Sets the interval for Policy Controller Audit Scans (in seconds).
	// When set to 0, this disables audit functionality altogether.
	AuditIntervalSeconds *int64 `` /* 130-byte string literal not displayed */
	// The set of namespaces that are excluded from Policy Controller checks.
	// Namespaces do not need to currently exist on the cluster.
	ExemptableNamespaces []string `protobuf:"bytes,4,rep,name=exemptable_namespaces,json=exemptableNamespaces,proto3" json:"exemptable_namespaces,omitempty"`
	// Enables the ability to use Constraint Templates that reference to objects
	// other than the object currently being evaluated.
	ReferentialRulesEnabled bool `` /* 133-byte string literal not displayed */
	// Logs all denies and dry run failures.
	LogDeniesEnabled bool `protobuf:"varint,6,opt,name=log_denies_enabled,json=logDeniesEnabled,proto3" json:"log_denies_enabled,omitempty"`
	// Enable or disable mutation in policy controller.
	// If true, mutation CRDs, webhook and controller deployment
	// will be deployed to the cluster.
	MutationEnabled bool `protobuf:"varint,7,opt,name=mutation_enabled,json=mutationEnabled,proto3" json:"mutation_enabled,omitempty"`
	// Monitoring specifies the configuration of monitoring.
	Monitoring *PolicyControllerMonitoring `protobuf:"bytes,8,opt,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Output only. Last time this membership spec was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Policy Controller

func (*PolicyController) Descriptor deprecated

func (*PolicyController) Descriptor() ([]byte, []int)

Deprecated: Use PolicyController.ProtoReflect.Descriptor instead.

func (*PolicyController) GetAuditIntervalSeconds

func (x *PolicyController) GetAuditIntervalSeconds() int64

func (*PolicyController) GetEnabled

func (x *PolicyController) GetEnabled() bool

func (*PolicyController) GetExemptableNamespaces

func (x *PolicyController) GetExemptableNamespaces() []string

func (*PolicyController) GetLogDeniesEnabled

func (x *PolicyController) GetLogDeniesEnabled() bool

func (*PolicyController) GetMonitoring

func (x *PolicyController) GetMonitoring() *PolicyControllerMonitoring

func (*PolicyController) GetMutationEnabled

func (x *PolicyController) GetMutationEnabled() bool

func (*PolicyController) GetReferentialRulesEnabled

func (x *PolicyController) GetReferentialRulesEnabled() bool

func (*PolicyController) GetTemplateLibraryInstalled

func (x *PolicyController) GetTemplateLibraryInstalled() bool

func (*PolicyController) GetUpdateTime

func (x *PolicyController) GetUpdateTime() *timestamp.Timestamp

func (*PolicyController) ProtoMessage

func (*PolicyController) ProtoMessage()

func (*PolicyController) ProtoReflect

func (x *PolicyController) ProtoReflect() protoreflect.Message

func (*PolicyController) Reset

func (x *PolicyController) Reset()

func (*PolicyController) String

func (x *PolicyController) String() string

type PolicyControllerMigration

type PolicyControllerMigration struct {

	// Stage of the migration.
	Stage PolicyControllerMigration_Stage `` /* 146-byte string literal not displayed */
	// Last time this membership spec was copied to PoCo feature.
	CopyTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=copy_time,json=copyTime,proto3" json:"copy_time,omitempty"`
	// contains filtered or unexported fields
}

State for the migration of PolicyController from ACM -> PoCo Hub.

func (*PolicyControllerMigration) Descriptor deprecated

func (*PolicyControllerMigration) Descriptor() ([]byte, []int)

Deprecated: Use PolicyControllerMigration.ProtoReflect.Descriptor instead.

func (*PolicyControllerMigration) GetCopyTime

func (x *PolicyControllerMigration) GetCopyTime() *timestamp.Timestamp

func (*PolicyControllerMigration) GetStage

func (*PolicyControllerMigration) ProtoMessage

func (*PolicyControllerMigration) ProtoMessage()

func (*PolicyControllerMigration) ProtoReflect

func (*PolicyControllerMigration) Reset

func (x *PolicyControllerMigration) Reset()

func (*PolicyControllerMigration) String

func (x *PolicyControllerMigration) String() string

type PolicyControllerMigration_Stage

type PolicyControllerMigration_Stage int32

Stage marks what stage of the migration ACM hub is in.

const (
	// Unknown state of migration.
	PolicyControllerMigration_STAGE_UNSPECIFIED PolicyControllerMigration_Stage = 0
	// ACM Hub/Operator manages policycontroller. No migration yet completed.
	PolicyControllerMigration_ACM_MANAGED PolicyControllerMigration_Stage = 1
	// All migrations steps complete; Poco Hub now manages policycontroller.
	PolicyControllerMigration_POCO_MANAGED PolicyControllerMigration_Stage = 2
)

func (PolicyControllerMigration_Stage) Descriptor

func (PolicyControllerMigration_Stage) Enum

func (PolicyControllerMigration_Stage) EnumDescriptor deprecated

func (PolicyControllerMigration_Stage) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyControllerMigration_Stage.Descriptor instead.

func (PolicyControllerMigration_Stage) Number

func (PolicyControllerMigration_Stage) String

func (PolicyControllerMigration_Stage) Type

type PolicyControllerMonitoring

type PolicyControllerMonitoring struct {

	// Specifies the list of backends Policy Controller will export to.
	// An empty list would effectively disable metrics export.
	Backends []PolicyControllerMonitoring_MonitoringBackend `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]

func (*PolicyControllerMonitoring) Descriptor deprecated

func (*PolicyControllerMonitoring) Descriptor() ([]byte, []int)

Deprecated: Use PolicyControllerMonitoring.ProtoReflect.Descriptor instead.

func (*PolicyControllerMonitoring) GetBackends

func (*PolicyControllerMonitoring) ProtoMessage

func (*PolicyControllerMonitoring) ProtoMessage()

func (*PolicyControllerMonitoring) ProtoReflect

func (*PolicyControllerMonitoring) Reset

func (x *PolicyControllerMonitoring) Reset()

func (*PolicyControllerMonitoring) String

func (x *PolicyControllerMonitoring) String() string

type PolicyControllerMonitoring_MonitoringBackend

type PolicyControllerMonitoring_MonitoringBackend int32

Supported backend options for monitoring

const (
	// Backend cannot be determined
	PolicyControllerMonitoring_MONITORING_BACKEND_UNSPECIFIED PolicyControllerMonitoring_MonitoringBackend = 0
	// Prometheus backend for monitoring
	PolicyControllerMonitoring_PROMETHEUS PolicyControllerMonitoring_MonitoringBackend = 1
	// Stackdriver/Cloud Monitoring backend for monitoring
	PolicyControllerMonitoring_CLOUD_MONITORING PolicyControllerMonitoring_MonitoringBackend = 2
)

func (PolicyControllerMonitoring_MonitoringBackend) Descriptor

func (PolicyControllerMonitoring_MonitoringBackend) Enum

func (PolicyControllerMonitoring_MonitoringBackend) EnumDescriptor deprecated

func (PolicyControllerMonitoring_MonitoringBackend) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyControllerMonitoring_MonitoringBackend.Descriptor instead.

func (PolicyControllerMonitoring_MonitoringBackend) Number

func (PolicyControllerMonitoring_MonitoringBackend) String

func (PolicyControllerMonitoring_MonitoringBackend) Type

type PolicyControllerState

type PolicyControllerState struct {

	// The version of Gatekeeper Policy Controller deployed.
	Version *PolicyControllerVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The state about the policy controller installation.
	DeploymentState *GatekeeperDeploymentState `protobuf:"bytes,2,opt,name=deployment_state,json=deploymentState,proto3" json:"deployment_state,omitempty"`
	// Record state of ACM -> PoCo Hub migration for this feature.
	Migration *PolicyControllerMigration `protobuf:"bytes,4,opt,name=migration,proto3" json:"migration,omitempty"`
	// contains filtered or unexported fields
}

State for PolicyControllerState.

func (*PolicyControllerState) Descriptor deprecated

func (*PolicyControllerState) Descriptor() ([]byte, []int)

Deprecated: Use PolicyControllerState.ProtoReflect.Descriptor instead.

func (*PolicyControllerState) GetDeploymentState

func (x *PolicyControllerState) GetDeploymentState() *GatekeeperDeploymentState

func (*PolicyControllerState) GetMigration

func (*PolicyControllerState) GetVersion

func (*PolicyControllerState) ProtoMessage

func (*PolicyControllerState) ProtoMessage()

func (*PolicyControllerState) ProtoReflect

func (x *PolicyControllerState) ProtoReflect() protoreflect.Message

func (*PolicyControllerState) Reset

func (x *PolicyControllerState) Reset()

func (*PolicyControllerState) String

func (x *PolicyControllerState) String() string

type PolicyControllerVersion

type PolicyControllerVersion struct {

	// The gatekeeper image tag that is composed of ACM version, git tag, build
	// number.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

The build version of Gatekeeper Policy Controller is using.

func (*PolicyControllerVersion) Descriptor deprecated

func (*PolicyControllerVersion) Descriptor() ([]byte, []int)

Deprecated: Use PolicyControllerVersion.ProtoReflect.Descriptor instead.

func (*PolicyControllerVersion) GetVersion

func (x *PolicyControllerVersion) GetVersion() string

func (*PolicyControllerVersion) ProtoMessage

func (*PolicyControllerVersion) ProtoMessage()

func (*PolicyControllerVersion) ProtoReflect

func (x *PolicyControllerVersion) ProtoReflect() protoreflect.Message

func (*PolicyControllerVersion) Reset

func (x *PolicyControllerVersion) Reset()

func (*PolicyControllerVersion) String

func (x *PolicyControllerVersion) String() string

type SyncError

type SyncError struct {

	// An ACM defined error code
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// A description of the error
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// A list of config(s) associated with the error, if any
	ErrorResources []*ErrorResource `protobuf:"bytes,3,rep,name=error_resources,json=errorResources,proto3" json:"error_resources,omitempty"`
	// contains filtered or unexported fields
}

An ACM created error representing a problem syncing configurations

func (*SyncError) Descriptor deprecated

func (*SyncError) Descriptor() ([]byte, []int)

Deprecated: Use SyncError.ProtoReflect.Descriptor instead.

func (*SyncError) GetCode

func (x *SyncError) GetCode() string

func (*SyncError) GetErrorMessage

func (x *SyncError) GetErrorMessage() string

func (*SyncError) GetErrorResources

func (x *SyncError) GetErrorResources() []*ErrorResource

func (*SyncError) ProtoMessage

func (*SyncError) ProtoMessage()

func (*SyncError) ProtoReflect

func (x *SyncError) ProtoReflect() protoreflect.Message

func (*SyncError) Reset

func (x *SyncError) Reset()

func (*SyncError) String

func (x *SyncError) String() string

type SyncState

type SyncState struct {

	// Token indicating the state of the repo.
	SourceToken string `protobuf:"bytes,1,opt,name=source_token,json=sourceToken,proto3" json:"source_token,omitempty"`
	// Token indicating the state of the importer.
	ImportToken string `protobuf:"bytes,2,opt,name=import_token,json=importToken,proto3" json:"import_token,omitempty"`
	// Token indicating the state of the syncer.
	SyncToken string `protobuf:"bytes,3,opt,name=sync_token,json=syncToken,proto3" json:"sync_token,omitempty"`
	// Deprecated: use last_sync_time instead.
	// Timestamp of when ACM last successfully synced the repo
	// The time format is specified in https://golang.org/pkg/time/#Time.String
	//
	// Deprecated: Do not use.
	LastSync string `protobuf:"bytes,4,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
	// Timestamp type of when ACM last successfully synced the repo
	LastSyncTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"`
	// Sync status code
	Code SyncState_SyncCode `` /* 131-byte string literal not displayed */
	// A list of errors resulting from problematic configs.
	// This list will be truncated after 100 errors, although it is
	// unlikely for that many errors to simultaneously exist.
	Errors []*SyncError `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

State indicating an ACM's progress syncing configurations to a cluster

func (*SyncState) Descriptor deprecated

func (*SyncState) Descriptor() ([]byte, []int)

Deprecated: Use SyncState.ProtoReflect.Descriptor instead.

func (*SyncState) GetCode

func (x *SyncState) GetCode() SyncState_SyncCode

func (*SyncState) GetErrors

func (x *SyncState) GetErrors() []*SyncError

func (*SyncState) GetImportToken

func (x *SyncState) GetImportToken() string

func (*SyncState) GetLastSync deprecated

func (x *SyncState) GetLastSync() string

Deprecated: Do not use.

func (*SyncState) GetLastSyncTime

func (x *SyncState) GetLastSyncTime() *timestamp.Timestamp

func (*SyncState) GetSourceToken

func (x *SyncState) GetSourceToken() string

func (*SyncState) GetSyncToken

func (x *SyncState) GetSyncToken() string

func (*SyncState) ProtoMessage

func (*SyncState) ProtoMessage()

func (*SyncState) ProtoReflect

func (x *SyncState) ProtoReflect() protoreflect.Message

func (*SyncState) Reset

func (x *SyncState) Reset()

func (*SyncState) String

func (x *SyncState) String() string

type SyncState_SyncCode

type SyncState_SyncCode int32

An enum representing Config Sync's status of syncing configs to a cluster.

const (
	// Config Sync cannot determine a sync code
	SyncState_SYNC_CODE_UNSPECIFIED SyncState_SyncCode = 0
	// Config Sync successfully synced the git Repo with the cluster
	SyncState_SYNCED SyncState_SyncCode = 1
	// Config Sync is in the progress of syncing a new change
	SyncState_PENDING SyncState_SyncCode = 2
	// Indicates an error configuring Config Sync, and user action is required
	SyncState_ERROR SyncState_SyncCode = 3
	// Config Sync has been installed but not configured
	SyncState_NOT_CONFIGURED SyncState_SyncCode = 4
	// Config Sync has not been installed
	SyncState_NOT_INSTALLED SyncState_SyncCode = 5
	// Error authorizing with the cluster
	SyncState_UNAUTHORIZED SyncState_SyncCode = 6
	// Cluster could not be reached
	SyncState_UNREACHABLE SyncState_SyncCode = 7
)

func (SyncState_SyncCode) Descriptor

func (SyncState_SyncCode) Enum

func (SyncState_SyncCode) EnumDescriptor deprecated

func (SyncState_SyncCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncState_SyncCode.Descriptor instead.

func (SyncState_SyncCode) Number

func (SyncState_SyncCode) String

func (x SyncState_SyncCode) String() string

func (SyncState_SyncCode) Type

Jump to

Keyboard shortcuts

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