Documentation ¶
Overview ¶
Package protection is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterProtectionManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProtectionManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProtectionManagerClient) error
- func RegisterProtectionManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProtectionManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProtectionManagerServer) error
- func RegisterProtectionManagerServer(s grpc.ServiceRegistrar, srv ProtectionManagerServer)
- type AllowedTimesProtectionConfig
- func (*AllowedTimesProtectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedTimesProtectionConfig) GetWindows() []*TimeWindow
- func (*AllowedTimesProtectionConfig) ProtoMessage()
- func (x *AllowedTimesProtectionConfig) ProtoReflect() protoreflect.Message
- func (x *AllowedTimesProtectionConfig) Reset()
- func (x *AllowedTimesProtectionConfig) String() string
- func (m *AllowedTimesProtectionConfig) Validate() error
- func (m *AllowedTimesProtectionConfig) ValidateAll() error
- type AllowedTimesProtectionConfigMultiError
- type AllowedTimesProtectionConfigValidationError
- func (e AllowedTimesProtectionConfigValidationError) Cause() error
- func (e AllowedTimesProtectionConfigValidationError) Error() string
- func (e AllowedTimesProtectionConfigValidationError) ErrorName() string
- func (e AllowedTimesProtectionConfigValidationError) Field() string
- func (e AllowedTimesProtectionConfigValidationError) Key() bool
- func (e AllowedTimesProtectionConfigValidationError) Reason() string
- type AttachmentType
- func (AttachmentType) Descriptor() protoreflect.EnumDescriptor
- func (x AttachmentType) Enum() *AttachmentType
- func (AttachmentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttachmentType) Number() protoreflect.EnumNumber
- func (x AttachmentType) String() string
- func (AttachmentType) Type() protoreflect.EnumType
- type BuiltinProtectionConfig
- func (*BuiltinProtectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltinProtectionConfig) GetAllowedTimes() *AllowedTimesProtectionConfig
- func (m *BuiltinProtectionConfig) GetBuiltinOneof() isBuiltinProtectionConfig_BuiltinOneof
- func (x *BuiltinProtectionConfig) GetCommitDenylist() *CommitDenylistProtectionConfig
- func (*BuiltinProtectionConfig) ProtoMessage()
- func (x *BuiltinProtectionConfig) ProtoReflect() protoreflect.Message
- func (x *BuiltinProtectionConfig) Reset()
- func (x *BuiltinProtectionConfig) String() string
- func (m *BuiltinProtectionConfig) Validate() error
- func (m *BuiltinProtectionConfig) ValidateAll() error
- type BuiltinProtectionConfigMultiError
- type BuiltinProtectionConfigValidationError
- func (e BuiltinProtectionConfigValidationError) Cause() error
- func (e BuiltinProtectionConfigValidationError) Error() string
- func (e BuiltinProtectionConfigValidationError) ErrorName() string
- func (e BuiltinProtectionConfigValidationError) Field() string
- func (e BuiltinProtectionConfigValidationError) Key() bool
- func (e BuiltinProtectionConfigValidationError) Reason() string
- type BuiltinProtectionConfig_AllowedTimes
- type BuiltinProtectionConfig_CommitDenylist
- type CommitDenylistProtectionConfig
- func (*CommitDenylistProtectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDenylistProtectionConfig) GetCommits() []*CommitDenylistProtectionConfig_CommitDefinition
- func (x *CommitDenylistProtectionConfig) GetRepository() string
- func (*CommitDenylistProtectionConfig) ProtoMessage()
- func (x *CommitDenylistProtectionConfig) ProtoReflect() protoreflect.Message
- func (x *CommitDenylistProtectionConfig) Reset()
- func (x *CommitDenylistProtectionConfig) String() string
- func (m *CommitDenylistProtectionConfig) Validate() error
- func (m *CommitDenylistProtectionConfig) ValidateAll() error
- type CommitDenylistProtectionConfigMultiError
- type CommitDenylistProtectionConfigValidationError
- func (e CommitDenylistProtectionConfigValidationError) Cause() error
- func (e CommitDenylistProtectionConfigValidationError) Error() string
- func (e CommitDenylistProtectionConfigValidationError) ErrorName() string
- func (e CommitDenylistProtectionConfigValidationError) Field() string
- func (e CommitDenylistProtectionConfigValidationError) Key() bool
- func (e CommitDenylistProtectionConfigValidationError) Reason() string
- type CommitDenylistProtectionConfig_CommitDefinition
- func (*CommitDenylistProtectionConfig_CommitDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDenylistProtectionConfig_CommitDefinition) GetCommit() string
- func (m *CommitDenylistProtectionConfig_CommitDefinition) GetCommitOneof() isCommitDenylistProtectionConfig_CommitDefinition_CommitOneof
- func (x *CommitDenylistProtectionConfig_CommitDefinition) GetRange() *CommitDenylistProtectionConfig_CommitDefinition_Range
- func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoMessage()
- func (x *CommitDenylistProtectionConfig_CommitDefinition) ProtoReflect() protoreflect.Message
- func (x *CommitDenylistProtectionConfig_CommitDefinition) Reset()
- func (x *CommitDenylistProtectionConfig_CommitDefinition) String() string
- func (m *CommitDenylistProtectionConfig_CommitDefinition) Validate() error
- func (m *CommitDenylistProtectionConfig_CommitDefinition) ValidateAll() error
- type CommitDenylistProtectionConfig_CommitDefinitionMultiError
- type CommitDenylistProtectionConfig_CommitDefinitionValidationError
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Cause() error
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Error() string
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) ErrorName() string
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Field() string
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Key() bool
- func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Reason() string
- type CommitDenylistProtectionConfig_CommitDefinition_Commit
- type CommitDenylistProtectionConfig_CommitDefinition_Range
- func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) GetEndCommit() string
- func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) GetStartCommit() string
- func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoMessage()
- func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoReflect() protoreflect.Message
- func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) Reset()
- func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) String() string
- func (m *CommitDenylistProtectionConfig_CommitDefinition_Range) Validate() error
- func (m *CommitDenylistProtectionConfig_CommitDefinition_Range) ValidateAll() error
- type CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError
- type CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Cause() error
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Error() string
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) ErrorName() string
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Field() string
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Key() bool
- func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Reason() string
- type CommitDenylistProtectionConfig_CommitDefinition_Range_
- type CompiledProtectionAttachmentConfig
- func (*CompiledProtectionAttachmentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CompiledProtectionAttachmentConfig) GetAttachment() *ProtectionAttachment
- func (x *CompiledProtectionAttachmentConfig) GetConfig() *ProtectionConfig
- func (x *CompiledProtectionAttachmentConfig) GetEnv() map[string]*common_config.EnvValue
- func (x *CompiledProtectionAttachmentConfig) GetParameterValues() []*common_config.ParameterValue
- func (x *CompiledProtectionAttachmentConfig) GetRuntimeExecution() *runtimes.RuntimeExecutionConfig
- func (*CompiledProtectionAttachmentConfig) ProtoMessage()
- func (x *CompiledProtectionAttachmentConfig) ProtoReflect() protoreflect.Message
- func (x *CompiledProtectionAttachmentConfig) Reset()
- func (x *CompiledProtectionAttachmentConfig) String() string
- func (m *CompiledProtectionAttachmentConfig) Validate() error
- func (m *CompiledProtectionAttachmentConfig) ValidateAll() error
- type CompiledProtectionAttachmentConfigMultiError
- type CompiledProtectionAttachmentConfigValidationError
- func (e CompiledProtectionAttachmentConfigValidationError) Cause() error
- func (e CompiledProtectionAttachmentConfigValidationError) Error() string
- func (e CompiledProtectionAttachmentConfigValidationError) ErrorName() string
- func (e CompiledProtectionAttachmentConfigValidationError) Field() string
- func (e CompiledProtectionAttachmentConfigValidationError) Key() bool
- func (e CompiledProtectionAttachmentConfigValidationError) Reason() string
- type ConfigureProtectionReq
- func (*ConfigureProtectionReq) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureProtectionReq) GetProtectionConfig() *ProtectionConfig
- func (x *ConfigureProtectionReq) GetSource() version.Source
- func (x *ConfigureProtectionReq) GetSourceMetadata() *version.SourceMetadata
- func (*ConfigureProtectionReq) ProtoMessage()
- func (x *ConfigureProtectionReq) ProtoReflect() protoreflect.Message
- func (x *ConfigureProtectionReq) Reset()
- func (x *ConfigureProtectionReq) String() string
- func (m *ConfigureProtectionReq) Validate() error
- func (m *ConfigureProtectionReq) ValidateAll() error
- type ConfigureProtectionReqMultiError
- type ConfigureProtectionReqValidationError
- func (e ConfigureProtectionReqValidationError) Cause() error
- func (e ConfigureProtectionReqValidationError) Error() string
- func (e ConfigureProtectionReqValidationError) ErrorName() string
- func (e ConfigureProtectionReqValidationError) Field() string
- func (e ConfigureProtectionReqValidationError) Key() bool
- func (e ConfigureProtectionReqValidationError) Reason() string
- type ConfigureProtectionResp
- func (*ConfigureProtectionResp) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureProtectionResp) GetProtectionId() string
- func (x *ConfigureProtectionResp) GetVersion() string
- func (*ConfigureProtectionResp) ProtoMessage()
- func (x *ConfigureProtectionResp) ProtoReflect() protoreflect.Message
- func (x *ConfigureProtectionResp) Reset()
- func (x *ConfigureProtectionResp) String() string
- func (m *ConfigureProtectionResp) Validate() error
- func (m *ConfigureProtectionResp) ValidateAll() error
- type ConfigureProtectionRespMultiError
- type ConfigureProtectionRespValidationError
- func (e ConfigureProtectionRespValidationError) Cause() error
- func (e ConfigureProtectionRespValidationError) Error() string
- func (e ConfigureProtectionRespValidationError) ErrorName() string
- func (e ConfigureProtectionRespValidationError) Field() string
- func (e ConfigureProtectionRespValidationError) Key() bool
- func (e ConfigureProtectionRespValidationError) Reason() string
- type ConvergenceAttachment
- func (*ConvergenceAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *ConvergenceAttachment) GetDesiredStateId() string
- func (*ConvergenceAttachment) ProtoMessage()
- func (x *ConvergenceAttachment) ProtoReflect() protoreflect.Message
- func (x *ConvergenceAttachment) Reset()
- func (x *ConvergenceAttachment) String() string
- func (m *ConvergenceAttachment) Validate() error
- func (m *ConvergenceAttachment) ValidateAll() error
- type ConvergenceAttachmentMultiError
- type ConvergenceAttachmentValidationError
- func (e ConvergenceAttachmentValidationError) Cause() error
- func (e ConvergenceAttachmentValidationError) Error() string
- func (e ConvergenceAttachmentValidationError) ErrorName() string
- func (e ConvergenceAttachmentValidationError) Field() string
- func (e ConvergenceAttachmentValidationError) Key() bool
- func (e ConvergenceAttachmentValidationError) Reason() string
- type GetProtectionAttachmentConfigReq
- func (*GetProtectionAttachmentConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionAttachmentConfigReq) GetAttachmentId() string
- func (x *GetProtectionAttachmentConfigReq) GetVersion() string
- func (*GetProtectionAttachmentConfigReq) ProtoMessage()
- func (x *GetProtectionAttachmentConfigReq) ProtoReflect() protoreflect.Message
- func (x *GetProtectionAttachmentConfigReq) Reset()
- func (x *GetProtectionAttachmentConfigReq) String() string
- func (m *GetProtectionAttachmentConfigReq) Validate() error
- func (m *GetProtectionAttachmentConfigReq) ValidateAll() error
- type GetProtectionAttachmentConfigReqMultiError
- type GetProtectionAttachmentConfigReqValidationError
- func (e GetProtectionAttachmentConfigReqValidationError) Cause() error
- func (e GetProtectionAttachmentConfigReqValidationError) Error() string
- func (e GetProtectionAttachmentConfigReqValidationError) ErrorName() string
- func (e GetProtectionAttachmentConfigReqValidationError) Field() string
- func (e GetProtectionAttachmentConfigReqValidationError) Key() bool
- func (e GetProtectionAttachmentConfigReqValidationError) Reason() string
- type GetProtectionAttachmentConfigResp
- func (*GetProtectionAttachmentConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionAttachmentConfigResp) GetConfig() *CompiledProtectionAttachmentConfig
- func (x *GetProtectionAttachmentConfigResp) GetVersion() string
- func (*GetProtectionAttachmentConfigResp) ProtoMessage()
- func (x *GetProtectionAttachmentConfigResp) ProtoReflect() protoreflect.Message
- func (x *GetProtectionAttachmentConfigResp) Reset()
- func (x *GetProtectionAttachmentConfigResp) String() string
- func (m *GetProtectionAttachmentConfigResp) Validate() error
- func (m *GetProtectionAttachmentConfigResp) ValidateAll() error
- type GetProtectionAttachmentConfigRespMultiError
- type GetProtectionAttachmentConfigRespValidationError
- func (e GetProtectionAttachmentConfigRespValidationError) Cause() error
- func (e GetProtectionAttachmentConfigRespValidationError) Error() string
- func (e GetProtectionAttachmentConfigRespValidationError) ErrorName() string
- func (e GetProtectionAttachmentConfigRespValidationError) Field() string
- func (e GetProtectionAttachmentConfigRespValidationError) Key() bool
- func (e GetProtectionAttachmentConfigRespValidationError) Reason() string
- type GetProtectionConfigReq
- func (*GetProtectionConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionConfigReq) GetProtection() string
- func (x *GetProtectionConfigReq) GetVersion() string
- func (*GetProtectionConfigReq) ProtoMessage()
- func (x *GetProtectionConfigReq) ProtoReflect() protoreflect.Message
- func (x *GetProtectionConfigReq) Reset()
- func (x *GetProtectionConfigReq) String() string
- func (m *GetProtectionConfigReq) Validate() error
- func (m *GetProtectionConfigReq) ValidateAll() error
- type GetProtectionConfigReqMultiError
- type GetProtectionConfigReqValidationError
- func (e GetProtectionConfigReqValidationError) Cause() error
- func (e GetProtectionConfigReqValidationError) Error() string
- func (e GetProtectionConfigReqValidationError) ErrorName() string
- func (e GetProtectionConfigReqValidationError) Field() string
- func (e GetProtectionConfigReqValidationError) Key() bool
- func (e GetProtectionConfigReqValidationError) Reason() string
- type GetProtectionConfigResp
- func (*GetProtectionConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionConfigResp) GetCompiledConfig() *ProtectionConfig
- func (x *GetProtectionConfigResp) GetInputConfig() *ProtectionConfig
- func (x *GetProtectionConfigResp) GetVersion() string
- func (*GetProtectionConfigResp) ProtoMessage()
- func (x *GetProtectionConfigResp) ProtoReflect() protoreflect.Message
- func (x *GetProtectionConfigResp) Reset()
- func (x *GetProtectionConfigResp) String() string
- func (m *GetProtectionConfigResp) Validate() error
- func (m *GetProtectionConfigResp) ValidateAll() error
- type GetProtectionConfigRespMultiError
- type GetProtectionConfigRespValidationError
- func (e GetProtectionConfigRespValidationError) Cause() error
- func (e GetProtectionConfigRespValidationError) Error() string
- func (e GetProtectionConfigRespValidationError) ErrorName() string
- func (e GetProtectionConfigRespValidationError) Field() string
- func (e GetProtectionConfigRespValidationError) Key() bool
- func (e GetProtectionConfigRespValidationError) Reason() string
- type GetProtectionReq
- func (*GetProtectionReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionReq) GetProtection() string
- func (*GetProtectionReq) ProtoMessage()
- func (x *GetProtectionReq) ProtoReflect() protoreflect.Message
- func (x *GetProtectionReq) Reset()
- func (x *GetProtectionReq) String() string
- func (m *GetProtectionReq) Validate() error
- func (m *GetProtectionReq) ValidateAll() error
- type GetProtectionReqMultiError
- type GetProtectionReqValidationError
- func (e GetProtectionReqValidationError) Cause() error
- func (e GetProtectionReqValidationError) Error() string
- func (e GetProtectionReqValidationError) ErrorName() string
- func (e GetProtectionReqValidationError) Field() string
- func (e GetProtectionReqValidationError) Key() bool
- func (e GetProtectionReqValidationError) Reason() string
- type GetProtectionResp
- func (*GetProtectionResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtectionResp) GetProtection() *Protection
- func (*GetProtectionResp) ProtoMessage()
- func (x *GetProtectionResp) ProtoReflect() protoreflect.Message
- func (x *GetProtectionResp) Reset()
- func (x *GetProtectionResp) String() string
- func (m *GetProtectionResp) Validate() error
- func (m *GetProtectionResp) ValidateAll() error
- type GetProtectionRespMultiError
- type GetProtectionRespValidationError
- func (e GetProtectionRespValidationError) Cause() error
- func (e GetProtectionRespValidationError) Error() string
- func (e GetProtectionRespValidationError) ErrorName() string
- func (e GetProtectionRespValidationError) Field() string
- func (e GetProtectionRespValidationError) Key() bool
- func (e GetProtectionRespValidationError) Reason() string
- type ListProtectionsReq
- func (*ListProtectionsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListProtectionsReq) GetPageSize() int32
- func (x *ListProtectionsReq) GetPageToken() string
- func (*ListProtectionsReq) ProtoMessage()
- func (x *ListProtectionsReq) ProtoReflect() protoreflect.Message
- func (x *ListProtectionsReq) Reset()
- func (x *ListProtectionsReq) String() string
- func (m *ListProtectionsReq) Validate() error
- func (m *ListProtectionsReq) ValidateAll() error
- type ListProtectionsReqMultiError
- type ListProtectionsReqValidationError
- func (e ListProtectionsReqValidationError) Cause() error
- func (e ListProtectionsReqValidationError) Error() string
- func (e ListProtectionsReqValidationError) ErrorName() string
- func (e ListProtectionsReqValidationError) Field() string
- func (e ListProtectionsReqValidationError) Key() bool
- func (e ListProtectionsReqValidationError) Reason() string
- type ListProtectionsResp
- func (*ListProtectionsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListProtectionsResp) GetNextPageToken() string
- func (x *ListProtectionsResp) GetProtections() []*Protection
- func (*ListProtectionsResp) ProtoMessage()
- func (x *ListProtectionsResp) ProtoReflect() protoreflect.Message
- func (x *ListProtectionsResp) Reset()
- func (x *ListProtectionsResp) String() string
- func (m *ListProtectionsResp) Validate() error
- func (m *ListProtectionsResp) ValidateAll() error
- type ListProtectionsRespMultiError
- type ListProtectionsRespValidationError
- func (e ListProtectionsRespValidationError) Cause() error
- func (e ListProtectionsRespValidationError) Error() string
- func (e ListProtectionsRespValidationError) ErrorName() string
- func (e ListProtectionsRespValidationError) Field() string
- func (e ListProtectionsRespValidationError) Key() bool
- func (e ListProtectionsRespValidationError) Reason() string
- type Protection
- func (*Protection) Descriptor() ([]byte, []int)deprecated
- func (x *Protection) GetBuiltin() bool
- func (x *Protection) GetConfig() *ProtectionConfig
- func (x *Protection) GetMeta() *object.ObjectMeta
- func (*Protection) ProtoMessage()
- func (x *Protection) ProtoReflect() protoreflect.Message
- func (x *Protection) Reset()
- func (x *Protection) String() string
- func (m *Protection) Validate() error
- func (m *Protection) ValidateAll() error
- type ProtectionAttachment
- func (*ProtectionAttachment) Descriptor() ([]byte, []int)deprecated
- func (m *ProtectionAttachment) GetAttachment() isProtectionAttachment_Attachment
- func (x *ProtectionAttachment) GetConvergence() *ConvergenceAttachment
- func (x *ProtectionAttachment) GetReleaseChannel() *ReleaseChannelAttachment
- func (x *ProtectionAttachment) GetServiceInstance() *ServiceInstanceAttachment
- func (*ProtectionAttachment) ProtoMessage()
- func (x *ProtectionAttachment) ProtoReflect() protoreflect.Message
- func (x *ProtectionAttachment) Reset()
- func (x *ProtectionAttachment) String() string
- func (m *ProtectionAttachment) Validate() error
- func (m *ProtectionAttachment) ValidateAll() error
- type ProtectionAttachmentConfig
- func (*ProtectionAttachmentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectionAttachmentConfig) GetLifecycle() []*ProtectionLifecycle
- func (x *ProtectionAttachmentConfig) GetName() string
- func (x *ProtectionAttachmentConfig) GetRef() *ProtectionReference
- func (*ProtectionAttachmentConfig) ProtoMessage()
- func (x *ProtectionAttachmentConfig) ProtoReflect() protoreflect.Message
- func (x *ProtectionAttachmentConfig) Reset()
- func (x *ProtectionAttachmentConfig) String() string
- func (m *ProtectionAttachmentConfig) Validate() error
- func (m *ProtectionAttachmentConfig) ValidateAll() error
- type ProtectionAttachmentConfigMultiError
- type ProtectionAttachmentConfigValidationError
- func (e ProtectionAttachmentConfigValidationError) Cause() error
- func (e ProtectionAttachmentConfigValidationError) Error() string
- func (e ProtectionAttachmentConfigValidationError) ErrorName() string
- func (e ProtectionAttachmentConfigValidationError) Field() string
- func (e ProtectionAttachmentConfigValidationError) Key() bool
- func (e ProtectionAttachmentConfigValidationError) Reason() string
- type ProtectionAttachmentMultiError
- type ProtectionAttachmentValidationError
- func (e ProtectionAttachmentValidationError) Cause() error
- func (e ProtectionAttachmentValidationError) Error() string
- func (e ProtectionAttachmentValidationError) ErrorName() string
- func (e ProtectionAttachmentValidationError) Field() string
- func (e ProtectionAttachmentValidationError) Key() bool
- func (e ProtectionAttachmentValidationError) Reason() string
- type ProtectionAttachment_Convergence
- type ProtectionAttachment_ReleaseChannel
- type ProtectionAttachment_ServiceInstance
- type ProtectionConfig
- func (*ProtectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectionConfig) GetBuiltin() *BuiltinProtectionConfig
- func (x *ProtectionConfig) GetEnv() map[string]*common_config.EnvValue
- func (m *ProtectionConfig) GetExecConfig() isProtectionConfig_ExecConfig
- func (x *ProtectionConfig) GetKubernetesConfig() *common_config.KubernetesConfig
- func (x *ProtectionConfig) GetName() string
- func (x *ProtectionConfig) GetParameters() []*common_config.ParameterDefinition
- func (x *ProtectionConfig) GetPollInterval() *durationpb.Duration
- func (x *ProtectionConfig) GetTaskConfig() *common_config.TaskConfig
- func (x *ProtectionConfig) GetTimeout() *durationpb.Duration
- func (*ProtectionConfig) ProtoMessage()
- func (x *ProtectionConfig) ProtoReflect() protoreflect.Message
- func (x *ProtectionConfig) Reset()
- func (x *ProtectionConfig) String() string
- func (m *ProtectionConfig) Validate() error
- func (m *ProtectionConfig) ValidateAll() error
- type ProtectionConfigMultiError
- type ProtectionConfigValidationError
- func (e ProtectionConfigValidationError) Cause() error
- func (e ProtectionConfigValidationError) Error() string
- func (e ProtectionConfigValidationError) ErrorName() string
- func (e ProtectionConfigValidationError) Field() string
- func (e ProtectionConfigValidationError) Key() bool
- func (e ProtectionConfigValidationError) Reason() string
- type ProtectionConfig_Builtin
- type ProtectionConfig_KubernetesConfig
- type ProtectionConfig_TaskConfig
- type ProtectionLifecycle
- func (*ProtectionLifecycle) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectionLifecycle) GetDeployment() *ProtectionLifecycle_Deployment
- func (m *ProtectionLifecycle) GetLifecycle() isProtectionLifecycle_Lifecycle
- func (x *ProtectionLifecycle) GetPostApproval() *ProtectionLifecycle_PostApproval
- func (x *ProtectionLifecycle) GetPostDeployment() *ProtectionLifecycle_PostDeployment
- func (x *ProtectionLifecycle) GetPreApproval() *ProtectionLifecycle_PreApproval
- func (*ProtectionLifecycle) ProtoMessage()
- func (x *ProtectionLifecycle) ProtoReflect() protoreflect.Message
- func (x *ProtectionLifecycle) Reset()
- func (x *ProtectionLifecycle) String() string
- func (m *ProtectionLifecycle) Validate() error
- func (m *ProtectionLifecycle) ValidateAll() error
- type ProtectionLifecycleMultiError
- type ProtectionLifecycleValidationError
- func (e ProtectionLifecycleValidationError) Cause() error
- func (e ProtectionLifecycleValidationError) Error() string
- func (e ProtectionLifecycleValidationError) ErrorName() string
- func (e ProtectionLifecycleValidationError) Field() string
- func (e ProtectionLifecycleValidationError) Key() bool
- func (e ProtectionLifecycleValidationError) Reason() string
- type ProtectionLifecycle_Deployment
- func (*ProtectionLifecycle_Deployment) Descriptor() ([]byte, []int)deprecated
- func (*ProtectionLifecycle_Deployment) ProtoMessage()
- func (x *ProtectionLifecycle_Deployment) ProtoReflect() protoreflect.Message
- func (x *ProtectionLifecycle_Deployment) Reset()
- func (x *ProtectionLifecycle_Deployment) String() string
- func (m *ProtectionLifecycle_Deployment) Validate() error
- func (m *ProtectionLifecycle_Deployment) ValidateAll() error
- type ProtectionLifecycle_DeploymentMultiError
- type ProtectionLifecycle_DeploymentValidationError
- func (e ProtectionLifecycle_DeploymentValidationError) Cause() error
- func (e ProtectionLifecycle_DeploymentValidationError) Error() string
- func (e ProtectionLifecycle_DeploymentValidationError) ErrorName() string
- func (e ProtectionLifecycle_DeploymentValidationError) Field() string
- func (e ProtectionLifecycle_DeploymentValidationError) Key() bool
- func (e ProtectionLifecycle_DeploymentValidationError) Reason() string
- type ProtectionLifecycle_Deployment_
- type ProtectionLifecycle_PostApproval
- func (*ProtectionLifecycle_PostApproval) Descriptor() ([]byte, []int)deprecated
- func (*ProtectionLifecycle_PostApproval) ProtoMessage()
- func (x *ProtectionLifecycle_PostApproval) ProtoReflect() protoreflect.Message
- func (x *ProtectionLifecycle_PostApproval) Reset()
- func (x *ProtectionLifecycle_PostApproval) String() string
- func (m *ProtectionLifecycle_PostApproval) Validate() error
- func (m *ProtectionLifecycle_PostApproval) ValidateAll() error
- type ProtectionLifecycle_PostApprovalMultiError
- type ProtectionLifecycle_PostApprovalValidationError
- func (e ProtectionLifecycle_PostApprovalValidationError) Cause() error
- func (e ProtectionLifecycle_PostApprovalValidationError) Error() string
- func (e ProtectionLifecycle_PostApprovalValidationError) ErrorName() string
- func (e ProtectionLifecycle_PostApprovalValidationError) Field() string
- func (e ProtectionLifecycle_PostApprovalValidationError) Key() bool
- func (e ProtectionLifecycle_PostApprovalValidationError) Reason() string
- type ProtectionLifecycle_PostApproval_
- type ProtectionLifecycle_PostDeployment
- func (*ProtectionLifecycle_PostDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectionLifecycle_PostDeployment) GetCheckDuration() *durationpb.Duration
- func (x *ProtectionLifecycle_PostDeployment) GetDelayCheckDuration() *durationpb.Duration
- func (*ProtectionLifecycle_PostDeployment) ProtoMessage()
- func (x *ProtectionLifecycle_PostDeployment) ProtoReflect() protoreflect.Message
- func (x *ProtectionLifecycle_PostDeployment) Reset()
- func (x *ProtectionLifecycle_PostDeployment) String() string
- func (m *ProtectionLifecycle_PostDeployment) Validate() error
- func (m *ProtectionLifecycle_PostDeployment) ValidateAll() error
- type ProtectionLifecycle_PostDeploymentMultiError
- type ProtectionLifecycle_PostDeploymentValidationError
- func (e ProtectionLifecycle_PostDeploymentValidationError) Cause() error
- func (e ProtectionLifecycle_PostDeploymentValidationError) Error() string
- func (e ProtectionLifecycle_PostDeploymentValidationError) ErrorName() string
- func (e ProtectionLifecycle_PostDeploymentValidationError) Field() string
- func (e ProtectionLifecycle_PostDeploymentValidationError) Key() bool
- func (e ProtectionLifecycle_PostDeploymentValidationError) Reason() string
- type ProtectionLifecycle_PostDeployment_
- type ProtectionLifecycle_PreApproval
- func (*ProtectionLifecycle_PreApproval) Descriptor() ([]byte, []int)deprecated
- func (*ProtectionLifecycle_PreApproval) ProtoMessage()
- func (x *ProtectionLifecycle_PreApproval) ProtoReflect() protoreflect.Message
- func (x *ProtectionLifecycle_PreApproval) Reset()
- func (x *ProtectionLifecycle_PreApproval) String() string
- func (m *ProtectionLifecycle_PreApproval) Validate() error
- func (m *ProtectionLifecycle_PreApproval) ValidateAll() error
- type ProtectionLifecycle_PreApprovalMultiError
- type ProtectionLifecycle_PreApprovalValidationError
- func (e ProtectionLifecycle_PreApprovalValidationError) Cause() error
- func (e ProtectionLifecycle_PreApprovalValidationError) Error() string
- func (e ProtectionLifecycle_PreApprovalValidationError) ErrorName() string
- func (e ProtectionLifecycle_PreApprovalValidationError) Field() string
- func (e ProtectionLifecycle_PreApprovalValidationError) Key() bool
- func (e ProtectionLifecycle_PreApprovalValidationError) Reason() string
- type ProtectionLifecycle_PreApproval_
- type ProtectionManagerClient
- type ProtectionManagerServer
- type ProtectionMultiError
- type ProtectionReference
- func (*ProtectionReference) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectionReference) GetName() string
- func (x *ProtectionReference) GetParameters() []*common_config.ParameterValue
- func (*ProtectionReference) ProtoMessage()
- func (x *ProtectionReference) ProtoReflect() protoreflect.Message
- func (x *ProtectionReference) Reset()
- func (x *ProtectionReference) String() string
- func (m *ProtectionReference) Validate() error
- func (m *ProtectionReference) ValidateAll() error
- type ProtectionReferenceMultiError
- type ProtectionReferenceValidationError
- func (e ProtectionReferenceValidationError) Cause() error
- func (e ProtectionReferenceValidationError) Error() string
- func (e ProtectionReferenceValidationError) ErrorName() string
- func (e ProtectionReferenceValidationError) Field() string
- func (e ProtectionReferenceValidationError) Key() bool
- func (e ProtectionReferenceValidationError) Reason() string
- type ProtectionValidationError
- type ReleaseChannelAttachment
- func (*ReleaseChannelAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseChannelAttachment) GetApplication() string
- func (x *ReleaseChannelAttachment) GetReleaseChannel() string
- func (*ReleaseChannelAttachment) ProtoMessage()
- func (x *ReleaseChannelAttachment) ProtoReflect() protoreflect.Message
- func (x *ReleaseChannelAttachment) Reset()
- func (x *ReleaseChannelAttachment) String() string
- func (m *ReleaseChannelAttachment) Validate() error
- func (m *ReleaseChannelAttachment) ValidateAll() error
- type ReleaseChannelAttachmentMultiError
- type ReleaseChannelAttachmentValidationError
- func (e ReleaseChannelAttachmentValidationError) Cause() error
- func (e ReleaseChannelAttachmentValidationError) Error() string
- func (e ReleaseChannelAttachmentValidationError) ErrorName() string
- func (e ReleaseChannelAttachmentValidationError) Field() string
- func (e ReleaseChannelAttachmentValidationError) Key() bool
- func (e ReleaseChannelAttachmentValidationError) Reason() string
- type ServiceInstanceAttachment
- func (*ServiceInstanceAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInstanceAttachment) GetApplication() string
- func (x *ServiceInstanceAttachment) GetReleaseChannel() string
- func (x *ServiceInstanceAttachment) GetService() string
- func (*ServiceInstanceAttachment) ProtoMessage()
- func (x *ServiceInstanceAttachment) ProtoReflect() protoreflect.Message
- func (x *ServiceInstanceAttachment) Reset()
- func (x *ServiceInstanceAttachment) String() string
- func (m *ServiceInstanceAttachment) Validate() error
- func (m *ServiceInstanceAttachment) ValidateAll() error
- type ServiceInstanceAttachmentMultiError
- type ServiceInstanceAttachmentValidationError
- func (e ServiceInstanceAttachmentValidationError) Cause() error
- func (e ServiceInstanceAttachmentValidationError) Error() string
- func (e ServiceInstanceAttachmentValidationError) ErrorName() string
- func (e ServiceInstanceAttachmentValidationError) Field() string
- func (e ServiceInstanceAttachmentValidationError) Key() bool
- func (e ServiceInstanceAttachmentValidationError) Reason() string
- type TimeWindow
- func (*TimeWindow) Descriptor() ([]byte, []int)deprecated
- func (x *TimeWindow) GetDays() string
- func (x *TimeWindow) GetHours() string
- func (x *TimeWindow) GetTz() string
- func (*TimeWindow) ProtoMessage()
- func (x *TimeWindow) ProtoReflect() protoreflect.Message
- func (x *TimeWindow) Reset()
- func (x *TimeWindow) String() string
- func (m *TimeWindow) Validate() error
- func (m *TimeWindow) ValidateAll() error
- type TimeWindowMultiError
- type TimeWindowValidationError
- type UnimplementedProtectionManagerServer
- func (UnimplementedProtectionManagerServer) ConfigureProtection(context.Context, *ConfigureProtectionReq) (*ConfigureProtectionResp, error)
- func (UnimplementedProtectionManagerServer) GetProtection(context.Context, *GetProtectionReq) (*GetProtectionResp, error)
- func (UnimplementedProtectionManagerServer) GetProtectionAttachmentConfig(context.Context, *GetProtectionAttachmentConfigReq) (*GetProtectionAttachmentConfigResp, error)
- func (UnimplementedProtectionManagerServer) GetProtectionConfig(context.Context, *GetProtectionConfigReq) (*GetProtectionConfigResp, error)
- func (UnimplementedProtectionManagerServer) ListProtections(context.Context, *ListProtectionsReq) (*ListProtectionsResp, error)
- func (UnimplementedProtectionManagerServer) ValidateConfigureProtection(context.Context, *ConfigureProtectionReq) (*ValidateConfigureProtectionResp, error)
- type UnsafeProtectionManagerServer
- type ValidateConfigureProtectionResp
- func (*ValidateConfigureProtectionResp) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateConfigureProtectionResp) GetCompiledConfig() *ProtectionConfig
- func (x *ValidateConfigureProtectionResp) GetInputConfig() *ProtectionConfig
- func (*ValidateConfigureProtectionResp) ProtoMessage()
- func (x *ValidateConfigureProtectionResp) ProtoReflect() protoreflect.Message
- func (x *ValidateConfigureProtectionResp) Reset()
- func (x *ValidateConfigureProtectionResp) String() string
- func (m *ValidateConfigureProtectionResp) Validate() error
- func (m *ValidateConfigureProtectionResp) ValidateAll() error
- type ValidateConfigureProtectionRespMultiError
- type ValidateConfigureProtectionRespValidationError
- func (e ValidateConfigureProtectionRespValidationError) Cause() error
- func (e ValidateConfigureProtectionRespValidationError) Error() string
- func (e ValidateConfigureProtectionRespValidationError) ErrorName() string
- func (e ValidateConfigureProtectionRespValidationError) Field() string
- func (e ValidateConfigureProtectionRespValidationError) Key() bool
- func (e ValidateConfigureProtectionRespValidationError) Reason() string
Constants ¶
const ( ProtectionManager_ConfigureProtection_FullMethodName = "/prodvana.protection.ProtectionManager/ConfigureProtection" ProtectionManager_ValidateConfigureProtection_FullMethodName = "/prodvana.protection.ProtectionManager/ValidateConfigureProtection" ProtectionManager_ListProtections_FullMethodName = "/prodvana.protection.ProtectionManager/ListProtections" ProtectionManager_GetProtection_FullMethodName = "/prodvana.protection.ProtectionManager/GetProtection" ProtectionManager_GetProtectionConfig_FullMethodName = "/prodvana.protection.ProtectionManager/GetProtectionConfig" ProtectionManager_GetProtectionAttachmentConfig_FullMethodName = "/prodvana.protection.ProtectionManager/GetProtectionAttachmentConfig" )
Variables ¶
var ( AttachmentType_name = map[int32]string{ 0: "UNKNOWN", 1: "RELEASE_CHANNEL", 2: "SERVICE_INSTANCE", 3: "CONVERGENCE", } AttachmentType_value = map[string]int32{ "UNKNOWN": 0, "RELEASE_CHANNEL": 1, "SERVICE_INSTANCE": 2, "CONVERGENCE": 3, } )
Enum value maps for AttachmentType.
var File_prodvana_protection_attachments_proto protoreflect.FileDescriptor
var File_prodvana_protection_builtins_proto protoreflect.FileDescriptor
var File_prodvana_protection_object_proto protoreflect.FileDescriptor
var File_prodvana_protection_protection_config_proto protoreflect.FileDescriptor
var File_prodvana_protection_protection_manager_proto protoreflect.FileDescriptor
var File_prodvana_protection_protection_reference_proto protoreflect.FileDescriptor
var ProtectionManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "prodvana.protection.ProtectionManager", HandlerType: (*ProtectionManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConfigureProtection", Handler: _ProtectionManager_ConfigureProtection_Handler, }, { MethodName: "ValidateConfigureProtection", Handler: _ProtectionManager_ValidateConfigureProtection_Handler, }, { MethodName: "ListProtections", Handler: _ProtectionManager_ListProtections_Handler, }, { MethodName: "GetProtection", Handler: _ProtectionManager_GetProtection_Handler, }, { MethodName: "GetProtectionConfig", Handler: _ProtectionManager_GetProtectionConfig_Handler, }, { MethodName: "GetProtectionAttachmentConfig", Handler: _ProtectionManager_GetProtectionAttachmentConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "prodvana/protection/protection_manager.proto", }
ProtectionManager_ServiceDesc is the grpc.ServiceDesc for ProtectionManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProtectionManagerHandler ¶
func RegisterProtectionManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProtectionManagerHandler registers the http handlers for service ProtectionManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProtectionManagerHandlerClient ¶
func RegisterProtectionManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProtectionManagerClient) error
RegisterProtectionManagerHandlerClient registers the http handlers for service ProtectionManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProtectionManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProtectionManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProtectionManagerClient" to call the correct interceptors.
func RegisterProtectionManagerHandlerFromEndpoint ¶
func RegisterProtectionManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProtectionManagerHandlerFromEndpoint is same as RegisterProtectionManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProtectionManagerHandlerServer ¶
func RegisterProtectionManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProtectionManagerServer) error
RegisterProtectionManagerHandlerServer registers the http handlers for service ProtectionManager to "mux". UnaryRPC :call ProtectionManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProtectionManagerHandlerFromEndpoint instead.
func RegisterProtectionManagerServer ¶
func RegisterProtectionManagerServer(s grpc.ServiceRegistrar, srv ProtectionManagerServer)
Types ¶
type AllowedTimesProtectionConfig ¶ added in v0.3.27
type AllowedTimesProtectionConfig struct { Windows []*TimeWindow `protobuf:"bytes,1,rep,name=windows,proto3" json:"windows,omitempty"` // contains filtered or unexported fields }
func (*AllowedTimesProtectionConfig) Descriptor
deprecated
added in
v0.3.27
func (*AllowedTimesProtectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use AllowedTimesProtectionConfig.ProtoReflect.Descriptor instead.
func (*AllowedTimesProtectionConfig) GetWindows ¶ added in v0.3.27
func (x *AllowedTimesProtectionConfig) GetWindows() []*TimeWindow
func (*AllowedTimesProtectionConfig) ProtoMessage ¶ added in v0.3.27
func (*AllowedTimesProtectionConfig) ProtoMessage()
func (*AllowedTimesProtectionConfig) ProtoReflect ¶ added in v0.3.27
func (x *AllowedTimesProtectionConfig) ProtoReflect() protoreflect.Message
func (*AllowedTimesProtectionConfig) Reset ¶ added in v0.3.27
func (x *AllowedTimesProtectionConfig) Reset()
func (*AllowedTimesProtectionConfig) String ¶ added in v0.3.27
func (x *AllowedTimesProtectionConfig) String() string
func (*AllowedTimesProtectionConfig) Validate ¶ added in v0.3.27
func (m *AllowedTimesProtectionConfig) Validate() error
Validate checks the field values on AllowedTimesProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllowedTimesProtectionConfig) ValidateAll ¶ added in v0.3.27
func (m *AllowedTimesProtectionConfig) ValidateAll() error
ValidateAll checks the field values on AllowedTimesProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowedTimesProtectionConfigMultiError, or nil if none found.
type AllowedTimesProtectionConfigMultiError ¶ added in v0.3.27
type AllowedTimesProtectionConfigMultiError []error
AllowedTimesProtectionConfigMultiError is an error wrapping multiple validation errors returned by AllowedTimesProtectionConfig.ValidateAll() if the designated constraints aren't met.
func (AllowedTimesProtectionConfigMultiError) AllErrors ¶ added in v0.3.27
func (m AllowedTimesProtectionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedTimesProtectionConfigMultiError) Error ¶ added in v0.3.27
func (m AllowedTimesProtectionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedTimesProtectionConfigValidationError ¶ added in v0.3.27
type AllowedTimesProtectionConfigValidationError struct {
// contains filtered or unexported fields
}
AllowedTimesProtectionConfigValidationError is the validation error returned by AllowedTimesProtectionConfig.Validate if the designated constraints aren't met.
func (AllowedTimesProtectionConfigValidationError) Cause ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) Cause() error
Cause function returns cause value.
func (AllowedTimesProtectionConfigValidationError) Error ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedTimesProtectionConfigValidationError) ErrorName ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedTimesProtectionConfigValidationError) Field ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) Field() string
Field function returns field value.
func (AllowedTimesProtectionConfigValidationError) Key ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) Key() bool
Key function returns key value.
func (AllowedTimesProtectionConfigValidationError) Reason ¶ added in v0.3.27
func (e AllowedTimesProtectionConfigValidationError) Reason() string
Reason function returns reason value.
type AttachmentType ¶
type AttachmentType int32
const ( AttachmentType_UNKNOWN AttachmentType = 0 AttachmentType_RELEASE_CHANNEL AttachmentType = 1 AttachmentType_SERVICE_INSTANCE AttachmentType = 2 AttachmentType_CONVERGENCE AttachmentType = 3 )
func (AttachmentType) Descriptor ¶
func (AttachmentType) Descriptor() protoreflect.EnumDescriptor
func (AttachmentType) Enum ¶
func (x AttachmentType) Enum() *AttachmentType
func (AttachmentType) EnumDescriptor
deprecated
func (AttachmentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachmentType.Descriptor instead.
func (AttachmentType) Number ¶
func (x AttachmentType) Number() protoreflect.EnumNumber
func (AttachmentType) String ¶
func (x AttachmentType) String() string
func (AttachmentType) Type ¶
func (AttachmentType) Type() protoreflect.EnumType
type BuiltinProtectionConfig ¶ added in v0.3.15
type BuiltinProtectionConfig struct { // Types that are assignable to BuiltinOneof: // // *BuiltinProtectionConfig_CommitDenylist // *BuiltinProtectionConfig_AllowedTimes BuiltinOneof isBuiltinProtectionConfig_BuiltinOneof `protobuf_oneof:"builtin_oneof"` // contains filtered or unexported fields }
func (*BuiltinProtectionConfig) Descriptor
deprecated
added in
v0.3.15
func (*BuiltinProtectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinProtectionConfig.ProtoReflect.Descriptor instead.
func (*BuiltinProtectionConfig) GetAllowedTimes ¶ added in v0.3.27
func (x *BuiltinProtectionConfig) GetAllowedTimes() *AllowedTimesProtectionConfig
func (*BuiltinProtectionConfig) GetBuiltinOneof ¶ added in v0.3.15
func (m *BuiltinProtectionConfig) GetBuiltinOneof() isBuiltinProtectionConfig_BuiltinOneof
func (*BuiltinProtectionConfig) GetCommitDenylist ¶ added in v0.3.15
func (x *BuiltinProtectionConfig) GetCommitDenylist() *CommitDenylistProtectionConfig
func (*BuiltinProtectionConfig) ProtoMessage ¶ added in v0.3.15
func (*BuiltinProtectionConfig) ProtoMessage()
func (*BuiltinProtectionConfig) ProtoReflect ¶ added in v0.3.15
func (x *BuiltinProtectionConfig) ProtoReflect() protoreflect.Message
func (*BuiltinProtectionConfig) Reset ¶ added in v0.3.15
func (x *BuiltinProtectionConfig) Reset()
func (*BuiltinProtectionConfig) String ¶ added in v0.3.15
func (x *BuiltinProtectionConfig) String() string
func (*BuiltinProtectionConfig) Validate ¶ added in v0.3.15
func (m *BuiltinProtectionConfig) Validate() error
Validate checks the field values on BuiltinProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BuiltinProtectionConfig) ValidateAll ¶ added in v0.3.15
func (m *BuiltinProtectionConfig) ValidateAll() error
ValidateAll checks the field values on BuiltinProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BuiltinProtectionConfigMultiError, or nil if none found.
type BuiltinProtectionConfigMultiError ¶ added in v0.3.15
type BuiltinProtectionConfigMultiError []error
BuiltinProtectionConfigMultiError is an error wrapping multiple validation errors returned by BuiltinProtectionConfig.ValidateAll() if the designated constraints aren't met.
func (BuiltinProtectionConfigMultiError) AllErrors ¶ added in v0.3.15
func (m BuiltinProtectionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuiltinProtectionConfigMultiError) Error ¶ added in v0.3.15
func (m BuiltinProtectionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuiltinProtectionConfigValidationError ¶ added in v0.3.15
type BuiltinProtectionConfigValidationError struct {
// contains filtered or unexported fields
}
BuiltinProtectionConfigValidationError is the validation error returned by BuiltinProtectionConfig.Validate if the designated constraints aren't met.
func (BuiltinProtectionConfigValidationError) Cause ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) Cause() error
Cause function returns cause value.
func (BuiltinProtectionConfigValidationError) Error ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (BuiltinProtectionConfigValidationError) ErrorName ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (BuiltinProtectionConfigValidationError) Field ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) Field() string
Field function returns field value.
func (BuiltinProtectionConfigValidationError) Key ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) Key() bool
Key function returns key value.
func (BuiltinProtectionConfigValidationError) Reason ¶ added in v0.3.15
func (e BuiltinProtectionConfigValidationError) Reason() string
Reason function returns reason value.
type BuiltinProtectionConfig_AllowedTimes ¶ added in v0.3.27
type BuiltinProtectionConfig_AllowedTimes struct {
AllowedTimes *AllowedTimesProtectionConfig `protobuf:"bytes,2,opt,name=allowed_times,json=allowedTimes,proto3,oneof"`
}
type BuiltinProtectionConfig_CommitDenylist ¶ added in v0.3.15
type BuiltinProtectionConfig_CommitDenylist struct {
CommitDenylist *CommitDenylistProtectionConfig `protobuf:"bytes,1,opt,name=commit_denylist,json=commitDenylist,proto3,oneof"`
}
type CommitDenylistProtectionConfig ¶ added in v0.3.13
type CommitDenylistProtectionConfig struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Commits []*CommitDenylistProtectionConfig_CommitDefinition `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*CommitDenylistProtectionConfig) Descriptor
deprecated
added in
v0.3.13
func (*CommitDenylistProtectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use CommitDenylistProtectionConfig.ProtoReflect.Descriptor instead.
func (*CommitDenylistProtectionConfig) GetCommits ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig) GetCommits() []*CommitDenylistProtectionConfig_CommitDefinition
func (*CommitDenylistProtectionConfig) GetRepository ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig) GetRepository() string
func (*CommitDenylistProtectionConfig) ProtoMessage ¶ added in v0.3.13
func (*CommitDenylistProtectionConfig) ProtoMessage()
func (*CommitDenylistProtectionConfig) ProtoReflect ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig) ProtoReflect() protoreflect.Message
func (*CommitDenylistProtectionConfig) Reset ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig) Reset()
func (*CommitDenylistProtectionConfig) String ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig) String() string
func (*CommitDenylistProtectionConfig) Validate ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig) Validate() error
Validate checks the field values on CommitDenylistProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitDenylistProtectionConfig) ValidateAll ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig) ValidateAll() error
ValidateAll checks the field values on CommitDenylistProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitDenylistProtectionConfigMultiError, or nil if none found.
type CommitDenylistProtectionConfigMultiError ¶ added in v0.3.13
type CommitDenylistProtectionConfigMultiError []error
CommitDenylistProtectionConfigMultiError is an error wrapping multiple validation errors returned by CommitDenylistProtectionConfig.ValidateAll() if the designated constraints aren't met.
func (CommitDenylistProtectionConfigMultiError) AllErrors ¶ added in v0.3.13
func (m CommitDenylistProtectionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitDenylistProtectionConfigMultiError) Error ¶ added in v0.3.13
func (m CommitDenylistProtectionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitDenylistProtectionConfigValidationError ¶ added in v0.3.13
type CommitDenylistProtectionConfigValidationError struct {
// contains filtered or unexported fields
}
CommitDenylistProtectionConfigValidationError is the validation error returned by CommitDenylistProtectionConfig.Validate if the designated constraints aren't met.
func (CommitDenylistProtectionConfigValidationError) Cause ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) Cause() error
Cause function returns cause value.
func (CommitDenylistProtectionConfigValidationError) Error ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CommitDenylistProtectionConfigValidationError) ErrorName ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CommitDenylistProtectionConfigValidationError) Field ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) Field() string
Field function returns field value.
func (CommitDenylistProtectionConfigValidationError) Key ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) Key() bool
Key function returns key value.
func (CommitDenylistProtectionConfigValidationError) Reason ¶ added in v0.3.13
func (e CommitDenylistProtectionConfigValidationError) Reason() string
Reason function returns reason value.
type CommitDenylistProtectionConfig_CommitDefinition ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition struct { // Types that are assignable to CommitOneof: // // *CommitDenylistProtectionConfig_CommitDefinition_Commit // *CommitDenylistProtectionConfig_CommitDefinition_Range_ CommitOneof isCommitDenylistProtectionConfig_CommitDefinition_CommitOneof `protobuf_oneof:"commit_oneof"` // contains filtered or unexported fields }
func (*CommitDenylistProtectionConfig_CommitDefinition) Descriptor
deprecated
added in
v0.3.13
func (*CommitDenylistProtectionConfig_CommitDefinition) Descriptor() ([]byte, []int)
Deprecated: Use CommitDenylistProtectionConfig_CommitDefinition.ProtoReflect.Descriptor instead.
func (*CommitDenylistProtectionConfig_CommitDefinition) GetCommit ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition) GetCommit() string
func (*CommitDenylistProtectionConfig_CommitDefinition) GetCommitOneof ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig_CommitDefinition) GetCommitOneof() isCommitDenylistProtectionConfig_CommitDefinition_CommitOneof
func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoMessage ¶ added in v0.3.13
func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoMessage()
func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoReflect ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition) ProtoReflect() protoreflect.Message
func (*CommitDenylistProtectionConfig_CommitDefinition) Reset ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition) Reset()
func (*CommitDenylistProtectionConfig_CommitDefinition) String ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition) String() string
func (*CommitDenylistProtectionConfig_CommitDefinition) Validate ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig_CommitDefinition) Validate() error
Validate checks the field values on CommitDenylistProtectionConfig_CommitDefinition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitDenylistProtectionConfig_CommitDefinition) ValidateAll ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig_CommitDefinition) ValidateAll() error
ValidateAll checks the field values on CommitDenylistProtectionConfig_CommitDefinition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitDenylistProtectionConfig_CommitDefinitionMultiError, or nil if none found.
type CommitDenylistProtectionConfig_CommitDefinitionMultiError ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinitionMultiError []error
CommitDenylistProtectionConfig_CommitDefinitionMultiError is an error wrapping multiple validation errors returned by CommitDenylistProtectionConfig_CommitDefinition.ValidateAll() if the designated constraints aren't met.
func (CommitDenylistProtectionConfig_CommitDefinitionMultiError) AllErrors ¶ added in v0.3.13
func (m CommitDenylistProtectionConfig_CommitDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitDenylistProtectionConfig_CommitDefinitionMultiError) Error ¶ added in v0.3.13
func (m CommitDenylistProtectionConfig_CommitDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitDenylistProtectionConfig_CommitDefinitionValidationError ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinitionValidationError struct {
// contains filtered or unexported fields
}
CommitDenylistProtectionConfig_CommitDefinitionValidationError is the validation error returned by CommitDenylistProtectionConfig_CommitDefinition.Validate if the designated constraints aren't met.
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Cause ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Cause() error
Cause function returns cause value.
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Error ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) ErrorName ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Field ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Field() string
Field function returns field value.
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Key ¶ added in v0.3.13
Key function returns key value.
func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Reason ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinitionValidationError) Reason() string
Reason function returns reason value.
type CommitDenylistProtectionConfig_CommitDefinition_Commit ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition_Commit struct {
Commit string `protobuf:"bytes,1,opt,name=commit,proto3,oneof"`
}
type CommitDenylistProtectionConfig_CommitDefinition_Range ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition_Range struct { StartCommit string `protobuf:"bytes,1,opt,name=start_commit,json=startCommit,proto3" json:"start_commit,omitempty"` // older commit, exclusive EndCommit string `protobuf:"bytes,2,opt,name=end_commit,json=endCommit,proto3" json:"end_commit,omitempty"` // newer commit, inclusive // contains filtered or unexported fields }
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Descriptor
deprecated
added in
v0.3.13
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Descriptor() ([]byte, []int)
Deprecated: Use CommitDenylistProtectionConfig_CommitDefinition_Range.ProtoReflect.Descriptor instead.
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) GetEndCommit ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) GetEndCommit() string
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) GetStartCommit ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) GetStartCommit() string
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoMessage ¶ added in v0.3.13
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoMessage()
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoReflect ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoReflect() protoreflect.Message
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Reset ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) Reset()
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) String ¶ added in v0.3.13
func (x *CommitDenylistProtectionConfig_CommitDefinition_Range) String() string
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Validate ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig_CommitDefinition_Range) Validate() error
Validate checks the field values on CommitDenylistProtectionConfig_CommitDefinition_Range with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ValidateAll ¶ added in v0.3.13
func (m *CommitDenylistProtectionConfig_CommitDefinition_Range) ValidateAll() error
ValidateAll checks the field values on CommitDenylistProtectionConfig_CommitDefinition_Range with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError, or nil if none found.
type CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError []error
CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError is an error wrapping multiple validation errors returned by CommitDenylistProtectionConfig_CommitDefinition_Range.ValidateAll() if the designated constraints aren't met.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError) AllErrors ¶ added in v0.3.13
func (m CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError) Error ¶ added in v0.3.13
func (m CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError struct {
// contains filtered or unexported fields
}
CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError is the validation error returned by CommitDenylistProtectionConfig_CommitDefinition_Range.Validate if the designated constraints aren't met.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Cause ¶ added in v0.3.13
Cause function returns cause value.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Error ¶ added in v0.3.13
Error satisfies the builtin error interface
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) ErrorName ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) ErrorName() string
ErrorName returns error name.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Field ¶ added in v0.3.13
Field function returns field value.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Key ¶ added in v0.3.13
Key function returns key value.
func (CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Reason ¶ added in v0.3.13
func (e CommitDenylistProtectionConfig_CommitDefinition_RangeValidationError) Reason() string
Reason function returns reason value.
type CommitDenylistProtectionConfig_CommitDefinition_Range_ ¶ added in v0.3.13
type CommitDenylistProtectionConfig_CommitDefinition_Range_ struct {
Range *CommitDenylistProtectionConfig_CommitDefinition_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type CompiledProtectionAttachmentConfig ¶
type CompiledProtectionAttachmentConfig struct { Config *ProtectionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Protection source - where did this protection get attached from (service/app/org/...)? Attachment *ProtectionAttachment `protobuf:"bytes,2,opt,name=attachment,proto3" json:"attachment,omitempty"` RuntimeExecution *runtimes.RuntimeExecutionConfig `protobuf:"bytes,3,opt,name=runtime_execution,json=runtimeExecution,proto3" json:"runtime_execution,omitempty"` // The compiled environment for this attachment's context, e.g. Release Channel. Env map[string]*common_config.EnvValue `` /* 147-byte string literal not displayed */ // compiled parameter values ParameterValues []*common_config.ParameterValue `protobuf:"bytes,5,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"` // contains filtered or unexported fields }
func (*CompiledProtectionAttachmentConfig) Descriptor
deprecated
func (*CompiledProtectionAttachmentConfig) Descriptor() ([]byte, []int)
Deprecated: Use CompiledProtectionAttachmentConfig.ProtoReflect.Descriptor instead.
func (*CompiledProtectionAttachmentConfig) GetAttachment ¶
func (x *CompiledProtectionAttachmentConfig) GetAttachment() *ProtectionAttachment
func (*CompiledProtectionAttachmentConfig) GetConfig ¶
func (x *CompiledProtectionAttachmentConfig) GetConfig() *ProtectionConfig
func (*CompiledProtectionAttachmentConfig) GetEnv ¶
func (x *CompiledProtectionAttachmentConfig) GetEnv() map[string]*common_config.EnvValue
func (*CompiledProtectionAttachmentConfig) GetParameterValues ¶
func (x *CompiledProtectionAttachmentConfig) GetParameterValues() []*common_config.ParameterValue
func (*CompiledProtectionAttachmentConfig) GetRuntimeExecution ¶
func (x *CompiledProtectionAttachmentConfig) GetRuntimeExecution() *runtimes.RuntimeExecutionConfig
func (*CompiledProtectionAttachmentConfig) ProtoMessage ¶
func (*CompiledProtectionAttachmentConfig) ProtoMessage()
func (*CompiledProtectionAttachmentConfig) ProtoReflect ¶
func (x *CompiledProtectionAttachmentConfig) ProtoReflect() protoreflect.Message
func (*CompiledProtectionAttachmentConfig) Reset ¶
func (x *CompiledProtectionAttachmentConfig) Reset()
func (*CompiledProtectionAttachmentConfig) String ¶
func (x *CompiledProtectionAttachmentConfig) String() string
func (*CompiledProtectionAttachmentConfig) Validate ¶
func (m *CompiledProtectionAttachmentConfig) Validate() error
Validate checks the field values on CompiledProtectionAttachmentConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CompiledProtectionAttachmentConfig) ValidateAll ¶
func (m *CompiledProtectionAttachmentConfig) ValidateAll() error
ValidateAll checks the field values on CompiledProtectionAttachmentConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompiledProtectionAttachmentConfigMultiError, or nil if none found.
type CompiledProtectionAttachmentConfigMultiError ¶
type CompiledProtectionAttachmentConfigMultiError []error
CompiledProtectionAttachmentConfigMultiError is an error wrapping multiple validation errors returned by CompiledProtectionAttachmentConfig.ValidateAll() if the designated constraints aren't met.
func (CompiledProtectionAttachmentConfigMultiError) AllErrors ¶
func (m CompiledProtectionAttachmentConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompiledProtectionAttachmentConfigMultiError) Error ¶
func (m CompiledProtectionAttachmentConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompiledProtectionAttachmentConfigValidationError ¶
type CompiledProtectionAttachmentConfigValidationError struct {
// contains filtered or unexported fields
}
CompiledProtectionAttachmentConfigValidationError is the validation error returned by CompiledProtectionAttachmentConfig.Validate if the designated constraints aren't met.
func (CompiledProtectionAttachmentConfigValidationError) Cause ¶
func (e CompiledProtectionAttachmentConfigValidationError) Cause() error
Cause function returns cause value.
func (CompiledProtectionAttachmentConfigValidationError) Error ¶
func (e CompiledProtectionAttachmentConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CompiledProtectionAttachmentConfigValidationError) ErrorName ¶
func (e CompiledProtectionAttachmentConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CompiledProtectionAttachmentConfigValidationError) Field ¶
func (e CompiledProtectionAttachmentConfigValidationError) Field() string
Field function returns field value.
func (CompiledProtectionAttachmentConfigValidationError) Key ¶
func (e CompiledProtectionAttachmentConfigValidationError) Key() bool
Key function returns key value.
func (CompiledProtectionAttachmentConfigValidationError) Reason ¶
func (e CompiledProtectionAttachmentConfigValidationError) Reason() string
Reason function returns reason value.
type ConfigureProtectionReq ¶
type ConfigureProtectionReq struct { ProtectionConfig *ProtectionConfig `protobuf:"bytes,1,opt,name=protection_config,json=protectionConfig,proto3" json:"protection_config,omitempty"` Source version.Source `protobuf:"varint,2,opt,name=source,proto3,enum=prodvana.version.Source" json:"source,omitempty"` SourceMetadata *version.SourceMetadata `protobuf:"bytes,3,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"` // contains filtered or unexported fields }
func (*ConfigureProtectionReq) Descriptor
deprecated
func (*ConfigureProtectionReq) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureProtectionReq.ProtoReflect.Descriptor instead.
func (*ConfigureProtectionReq) GetProtectionConfig ¶
func (x *ConfigureProtectionReq) GetProtectionConfig() *ProtectionConfig
func (*ConfigureProtectionReq) GetSource ¶
func (x *ConfigureProtectionReq) GetSource() version.Source
func (*ConfigureProtectionReq) GetSourceMetadata ¶
func (x *ConfigureProtectionReq) GetSourceMetadata() *version.SourceMetadata
func (*ConfigureProtectionReq) ProtoMessage ¶
func (*ConfigureProtectionReq) ProtoMessage()
func (*ConfigureProtectionReq) ProtoReflect ¶
func (x *ConfigureProtectionReq) ProtoReflect() protoreflect.Message
func (*ConfigureProtectionReq) Reset ¶
func (x *ConfigureProtectionReq) Reset()
func (*ConfigureProtectionReq) String ¶
func (x *ConfigureProtectionReq) String() string
func (*ConfigureProtectionReq) Validate ¶
func (m *ConfigureProtectionReq) Validate() error
Validate checks the field values on ConfigureProtectionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfigureProtectionReq) ValidateAll ¶
func (m *ConfigureProtectionReq) ValidateAll() error
ValidateAll checks the field values on ConfigureProtectionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureProtectionReqMultiError, or nil if none found.
type ConfigureProtectionReqMultiError ¶
type ConfigureProtectionReqMultiError []error
ConfigureProtectionReqMultiError is an error wrapping multiple validation errors returned by ConfigureProtectionReq.ValidateAll() if the designated constraints aren't met.
func (ConfigureProtectionReqMultiError) AllErrors ¶
func (m ConfigureProtectionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigureProtectionReqMultiError) Error ¶
func (m ConfigureProtectionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigureProtectionReqValidationError ¶
type ConfigureProtectionReqValidationError struct {
// contains filtered or unexported fields
}
ConfigureProtectionReqValidationError is the validation error returned by ConfigureProtectionReq.Validate if the designated constraints aren't met.
func (ConfigureProtectionReqValidationError) Cause ¶
func (e ConfigureProtectionReqValidationError) Cause() error
Cause function returns cause value.
func (ConfigureProtectionReqValidationError) Error ¶
func (e ConfigureProtectionReqValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureProtectionReqValidationError) ErrorName ¶
func (e ConfigureProtectionReqValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureProtectionReqValidationError) Field ¶
func (e ConfigureProtectionReqValidationError) Field() string
Field function returns field value.
func (ConfigureProtectionReqValidationError) Key ¶
func (e ConfigureProtectionReqValidationError) Key() bool
Key function returns key value.
func (ConfigureProtectionReqValidationError) Reason ¶
func (e ConfigureProtectionReqValidationError) Reason() string
Reason function returns reason value.
type ConfigureProtectionResp ¶
type ConfigureProtectionResp struct { ProtectionId string `protobuf:"bytes,1,opt,name=protection_id,json=protectionId,proto3" json:"protection_id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ConfigureProtectionResp) Descriptor
deprecated
func (*ConfigureProtectionResp) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureProtectionResp.ProtoReflect.Descriptor instead.
func (*ConfigureProtectionResp) GetProtectionId ¶
func (x *ConfigureProtectionResp) GetProtectionId() string
func (*ConfigureProtectionResp) GetVersion ¶
func (x *ConfigureProtectionResp) GetVersion() string
func (*ConfigureProtectionResp) ProtoMessage ¶
func (*ConfigureProtectionResp) ProtoMessage()
func (*ConfigureProtectionResp) ProtoReflect ¶
func (x *ConfigureProtectionResp) ProtoReflect() protoreflect.Message
func (*ConfigureProtectionResp) Reset ¶
func (x *ConfigureProtectionResp) Reset()
func (*ConfigureProtectionResp) String ¶
func (x *ConfigureProtectionResp) String() string
func (*ConfigureProtectionResp) Validate ¶
func (m *ConfigureProtectionResp) Validate() error
Validate checks the field values on ConfigureProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfigureProtectionResp) ValidateAll ¶
func (m *ConfigureProtectionResp) ValidateAll() error
ValidateAll checks the field values on ConfigureProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureProtectionRespMultiError, or nil if none found.
type ConfigureProtectionRespMultiError ¶
type ConfigureProtectionRespMultiError []error
ConfigureProtectionRespMultiError is an error wrapping multiple validation errors returned by ConfigureProtectionResp.ValidateAll() if the designated constraints aren't met.
func (ConfigureProtectionRespMultiError) AllErrors ¶
func (m ConfigureProtectionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigureProtectionRespMultiError) Error ¶
func (m ConfigureProtectionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigureProtectionRespValidationError ¶
type ConfigureProtectionRespValidationError struct {
// contains filtered or unexported fields
}
ConfigureProtectionRespValidationError is the validation error returned by ConfigureProtectionResp.Validate if the designated constraints aren't met.
func (ConfigureProtectionRespValidationError) Cause ¶
func (e ConfigureProtectionRespValidationError) Cause() error
Cause function returns cause value.
func (ConfigureProtectionRespValidationError) Error ¶
func (e ConfigureProtectionRespValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureProtectionRespValidationError) ErrorName ¶
func (e ConfigureProtectionRespValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureProtectionRespValidationError) Field ¶
func (e ConfigureProtectionRespValidationError) Field() string
Field function returns field value.
func (ConfigureProtectionRespValidationError) Key ¶
func (e ConfigureProtectionRespValidationError) Key() bool
Key function returns key value.
func (ConfigureProtectionRespValidationError) Reason ¶
func (e ConfigureProtectionRespValidationError) Reason() string
Reason function returns reason value.
type ConvergenceAttachment ¶ added in v0.3.3
type ConvergenceAttachment struct { DesiredStateId string `protobuf:"bytes,1,opt,name=desired_state_id,json=desiredStateId,proto3" json:"desired_state_id,omitempty"` // contains filtered or unexported fields }
func (*ConvergenceAttachment) Descriptor
deprecated
added in
v0.3.3
func (*ConvergenceAttachment) Descriptor() ([]byte, []int)
Deprecated: Use ConvergenceAttachment.ProtoReflect.Descriptor instead.
func (*ConvergenceAttachment) GetDesiredStateId ¶ added in v0.3.3
func (x *ConvergenceAttachment) GetDesiredStateId() string
func (*ConvergenceAttachment) ProtoMessage ¶ added in v0.3.3
func (*ConvergenceAttachment) ProtoMessage()
func (*ConvergenceAttachment) ProtoReflect ¶ added in v0.3.3
func (x *ConvergenceAttachment) ProtoReflect() protoreflect.Message
func (*ConvergenceAttachment) Reset ¶ added in v0.3.3
func (x *ConvergenceAttachment) Reset()
func (*ConvergenceAttachment) String ¶ added in v0.3.3
func (x *ConvergenceAttachment) String() string
func (*ConvergenceAttachment) Validate ¶ added in v0.3.3
func (m *ConvergenceAttachment) Validate() error
Validate checks the field values on ConvergenceAttachment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConvergenceAttachment) ValidateAll ¶ added in v0.3.3
func (m *ConvergenceAttachment) ValidateAll() error
ValidateAll checks the field values on ConvergenceAttachment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConvergenceAttachmentMultiError, or nil if none found.
type ConvergenceAttachmentMultiError ¶ added in v0.3.3
type ConvergenceAttachmentMultiError []error
ConvergenceAttachmentMultiError is an error wrapping multiple validation errors returned by ConvergenceAttachment.ValidateAll() if the designated constraints aren't met.
func (ConvergenceAttachmentMultiError) AllErrors ¶ added in v0.3.3
func (m ConvergenceAttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConvergenceAttachmentMultiError) Error ¶ added in v0.3.3
func (m ConvergenceAttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConvergenceAttachmentValidationError ¶ added in v0.3.3
type ConvergenceAttachmentValidationError struct {
// contains filtered or unexported fields
}
ConvergenceAttachmentValidationError is the validation error returned by ConvergenceAttachment.Validate if the designated constraints aren't met.
func (ConvergenceAttachmentValidationError) Cause ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) Cause() error
Cause function returns cause value.
func (ConvergenceAttachmentValidationError) Error ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (ConvergenceAttachmentValidationError) ErrorName ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (ConvergenceAttachmentValidationError) Field ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) Field() string
Field function returns field value.
func (ConvergenceAttachmentValidationError) Key ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) Key() bool
Key function returns key value.
func (ConvergenceAttachmentValidationError) Reason ¶ added in v0.3.3
func (e ConvergenceAttachmentValidationError) Reason() string
Reason function returns reason value.
type GetProtectionAttachmentConfigReq ¶ added in v0.2.0
type GetProtectionAttachmentConfigReq struct { AttachmentId string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // omit to get latest version // contains filtered or unexported fields }
func (*GetProtectionAttachmentConfigReq) Descriptor
deprecated
added in
v0.2.0
func (*GetProtectionAttachmentConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionAttachmentConfigReq.ProtoReflect.Descriptor instead.
func (*GetProtectionAttachmentConfigReq) GetAttachmentId ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigReq) GetAttachmentId() string
func (*GetProtectionAttachmentConfigReq) GetVersion ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigReq) GetVersion() string
func (*GetProtectionAttachmentConfigReq) ProtoMessage ¶ added in v0.2.0
func (*GetProtectionAttachmentConfigReq) ProtoMessage()
func (*GetProtectionAttachmentConfigReq) ProtoReflect ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigReq) ProtoReflect() protoreflect.Message
func (*GetProtectionAttachmentConfigReq) Reset ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigReq) Reset()
func (*GetProtectionAttachmentConfigReq) String ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigReq) String() string
func (*GetProtectionAttachmentConfigReq) Validate ¶ added in v0.2.0
func (m *GetProtectionAttachmentConfigReq) Validate() error
Validate checks the field values on GetProtectionAttachmentConfigReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionAttachmentConfigReq) ValidateAll ¶ added in v0.2.0
func (m *GetProtectionAttachmentConfigReq) ValidateAll() error
ValidateAll checks the field values on GetProtectionAttachmentConfigReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionAttachmentConfigReqMultiError, or nil if none found.
type GetProtectionAttachmentConfigReqMultiError ¶ added in v0.2.0
type GetProtectionAttachmentConfigReqMultiError []error
GetProtectionAttachmentConfigReqMultiError is an error wrapping multiple validation errors returned by GetProtectionAttachmentConfigReq.ValidateAll() if the designated constraints aren't met.
func (GetProtectionAttachmentConfigReqMultiError) AllErrors ¶ added in v0.2.0
func (m GetProtectionAttachmentConfigReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionAttachmentConfigReqMultiError) Error ¶ added in v0.2.0
func (m GetProtectionAttachmentConfigReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionAttachmentConfigReqValidationError ¶ added in v0.2.0
type GetProtectionAttachmentConfigReqValidationError struct {
// contains filtered or unexported fields
}
GetProtectionAttachmentConfigReqValidationError is the validation error returned by GetProtectionAttachmentConfigReq.Validate if the designated constraints aren't met.
func (GetProtectionAttachmentConfigReqValidationError) Cause ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionAttachmentConfigReqValidationError) Error ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionAttachmentConfigReqValidationError) ErrorName ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionAttachmentConfigReqValidationError) Field ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) Field() string
Field function returns field value.
func (GetProtectionAttachmentConfigReqValidationError) Key ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) Key() bool
Key function returns key value.
func (GetProtectionAttachmentConfigReqValidationError) Reason ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigReqValidationError) Reason() string
Reason function returns reason value.
type GetProtectionAttachmentConfigResp ¶ added in v0.2.0
type GetProtectionAttachmentConfigResp struct { Config *CompiledProtectionAttachmentConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetProtectionAttachmentConfigResp) Descriptor
deprecated
added in
v0.2.0
func (*GetProtectionAttachmentConfigResp) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionAttachmentConfigResp.ProtoReflect.Descriptor instead.
func (*GetProtectionAttachmentConfigResp) GetConfig ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigResp) GetConfig() *CompiledProtectionAttachmentConfig
func (*GetProtectionAttachmentConfigResp) GetVersion ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigResp) GetVersion() string
func (*GetProtectionAttachmentConfigResp) ProtoMessage ¶ added in v0.2.0
func (*GetProtectionAttachmentConfigResp) ProtoMessage()
func (*GetProtectionAttachmentConfigResp) ProtoReflect ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigResp) ProtoReflect() protoreflect.Message
func (*GetProtectionAttachmentConfigResp) Reset ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigResp) Reset()
func (*GetProtectionAttachmentConfigResp) String ¶ added in v0.2.0
func (x *GetProtectionAttachmentConfigResp) String() string
func (*GetProtectionAttachmentConfigResp) Validate ¶ added in v0.2.0
func (m *GetProtectionAttachmentConfigResp) Validate() error
Validate checks the field values on GetProtectionAttachmentConfigResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionAttachmentConfigResp) ValidateAll ¶ added in v0.2.0
func (m *GetProtectionAttachmentConfigResp) ValidateAll() error
ValidateAll checks the field values on GetProtectionAttachmentConfigResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionAttachmentConfigRespMultiError, or nil if none found.
type GetProtectionAttachmentConfigRespMultiError ¶ added in v0.2.0
type GetProtectionAttachmentConfigRespMultiError []error
GetProtectionAttachmentConfigRespMultiError is an error wrapping multiple validation errors returned by GetProtectionAttachmentConfigResp.ValidateAll() if the designated constraints aren't met.
func (GetProtectionAttachmentConfigRespMultiError) AllErrors ¶ added in v0.2.0
func (m GetProtectionAttachmentConfigRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionAttachmentConfigRespMultiError) Error ¶ added in v0.2.0
func (m GetProtectionAttachmentConfigRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionAttachmentConfigRespValidationError ¶ added in v0.2.0
type GetProtectionAttachmentConfigRespValidationError struct {
// contains filtered or unexported fields
}
GetProtectionAttachmentConfigRespValidationError is the validation error returned by GetProtectionAttachmentConfigResp.Validate if the designated constraints aren't met.
func (GetProtectionAttachmentConfigRespValidationError) Cause ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionAttachmentConfigRespValidationError) Error ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionAttachmentConfigRespValidationError) ErrorName ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionAttachmentConfigRespValidationError) Field ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) Field() string
Field function returns field value.
func (GetProtectionAttachmentConfigRespValidationError) Key ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) Key() bool
Key function returns key value.
func (GetProtectionAttachmentConfigRespValidationError) Reason ¶ added in v0.2.0
func (e GetProtectionAttachmentConfigRespValidationError) Reason() string
Reason function returns reason value.
type GetProtectionConfigReq ¶
type GetProtectionConfigReq struct { Protection string `protobuf:"bytes,1,opt,name=protection,proto3" json:"protection,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // omit to get latest version // contains filtered or unexported fields }
func (*GetProtectionConfigReq) Descriptor
deprecated
func (*GetProtectionConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionConfigReq.ProtoReflect.Descriptor instead.
func (*GetProtectionConfigReq) GetProtection ¶
func (x *GetProtectionConfigReq) GetProtection() string
func (*GetProtectionConfigReq) GetVersion ¶
func (x *GetProtectionConfigReq) GetVersion() string
func (*GetProtectionConfigReq) ProtoMessage ¶
func (*GetProtectionConfigReq) ProtoMessage()
func (*GetProtectionConfigReq) ProtoReflect ¶
func (x *GetProtectionConfigReq) ProtoReflect() protoreflect.Message
func (*GetProtectionConfigReq) Reset ¶
func (x *GetProtectionConfigReq) Reset()
func (*GetProtectionConfigReq) String ¶
func (x *GetProtectionConfigReq) String() string
func (*GetProtectionConfigReq) Validate ¶
func (m *GetProtectionConfigReq) Validate() error
Validate checks the field values on GetProtectionConfigReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionConfigReq) ValidateAll ¶
func (m *GetProtectionConfigReq) ValidateAll() error
ValidateAll checks the field values on GetProtectionConfigReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionConfigReqMultiError, or nil if none found.
type GetProtectionConfigReqMultiError ¶
type GetProtectionConfigReqMultiError []error
GetProtectionConfigReqMultiError is an error wrapping multiple validation errors returned by GetProtectionConfigReq.ValidateAll() if the designated constraints aren't met.
func (GetProtectionConfigReqMultiError) AllErrors ¶
func (m GetProtectionConfigReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionConfigReqMultiError) Error ¶
func (m GetProtectionConfigReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionConfigReqValidationError ¶
type GetProtectionConfigReqValidationError struct {
// contains filtered or unexported fields
}
GetProtectionConfigReqValidationError is the validation error returned by GetProtectionConfigReq.Validate if the designated constraints aren't met.
func (GetProtectionConfigReqValidationError) Cause ¶
func (e GetProtectionConfigReqValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionConfigReqValidationError) Error ¶
func (e GetProtectionConfigReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionConfigReqValidationError) ErrorName ¶
func (e GetProtectionConfigReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionConfigReqValidationError) Field ¶
func (e GetProtectionConfigReqValidationError) Field() string
Field function returns field value.
func (GetProtectionConfigReqValidationError) Key ¶
func (e GetProtectionConfigReqValidationError) Key() bool
Key function returns key value.
func (GetProtectionConfigReqValidationError) Reason ¶
func (e GetProtectionConfigReqValidationError) Reason() string
Reason function returns reason value.
type GetProtectionConfigResp ¶
type GetProtectionConfigResp struct { InputConfig *ProtectionConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` CompiledConfig *ProtectionConfig `protobuf:"bytes,1,opt,name=compiled_config,json=compiledConfig,proto3" json:"compiled_config,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // next tag: 4 // contains filtered or unexported fields }
func (*GetProtectionConfigResp) Descriptor
deprecated
func (*GetProtectionConfigResp) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionConfigResp.ProtoReflect.Descriptor instead.
func (*GetProtectionConfigResp) GetCompiledConfig ¶ added in v0.2.13
func (x *GetProtectionConfigResp) GetCompiledConfig() *ProtectionConfig
func (*GetProtectionConfigResp) GetInputConfig ¶ added in v0.2.13
func (x *GetProtectionConfigResp) GetInputConfig() *ProtectionConfig
func (*GetProtectionConfigResp) GetVersion ¶
func (x *GetProtectionConfigResp) GetVersion() string
func (*GetProtectionConfigResp) ProtoMessage ¶
func (*GetProtectionConfigResp) ProtoMessage()
func (*GetProtectionConfigResp) ProtoReflect ¶
func (x *GetProtectionConfigResp) ProtoReflect() protoreflect.Message
func (*GetProtectionConfigResp) Reset ¶
func (x *GetProtectionConfigResp) Reset()
func (*GetProtectionConfigResp) String ¶
func (x *GetProtectionConfigResp) String() string
func (*GetProtectionConfigResp) Validate ¶
func (m *GetProtectionConfigResp) Validate() error
Validate checks the field values on GetProtectionConfigResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionConfigResp) ValidateAll ¶
func (m *GetProtectionConfigResp) ValidateAll() error
ValidateAll checks the field values on GetProtectionConfigResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionConfigRespMultiError, or nil if none found.
type GetProtectionConfigRespMultiError ¶
type GetProtectionConfigRespMultiError []error
GetProtectionConfigRespMultiError is an error wrapping multiple validation errors returned by GetProtectionConfigResp.ValidateAll() if the designated constraints aren't met.
func (GetProtectionConfigRespMultiError) AllErrors ¶
func (m GetProtectionConfigRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionConfigRespMultiError) Error ¶
func (m GetProtectionConfigRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionConfigRespValidationError ¶
type GetProtectionConfigRespValidationError struct {
// contains filtered or unexported fields
}
GetProtectionConfigRespValidationError is the validation error returned by GetProtectionConfigResp.Validate if the designated constraints aren't met.
func (GetProtectionConfigRespValidationError) Cause ¶
func (e GetProtectionConfigRespValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionConfigRespValidationError) Error ¶
func (e GetProtectionConfigRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionConfigRespValidationError) ErrorName ¶
func (e GetProtectionConfigRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionConfigRespValidationError) Field ¶
func (e GetProtectionConfigRespValidationError) Field() string
Field function returns field value.
func (GetProtectionConfigRespValidationError) Key ¶
func (e GetProtectionConfigRespValidationError) Key() bool
Key function returns key value.
func (GetProtectionConfigRespValidationError) Reason ¶
func (e GetProtectionConfigRespValidationError) Reason() string
Reason function returns reason value.
type GetProtectionReq ¶
type GetProtectionReq struct { Protection string `protobuf:"bytes,1,opt,name=protection,proto3" json:"protection,omitempty"` // contains filtered or unexported fields }
func (*GetProtectionReq) Descriptor
deprecated
func (*GetProtectionReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionReq.ProtoReflect.Descriptor instead.
func (*GetProtectionReq) GetProtection ¶
func (x *GetProtectionReq) GetProtection() string
func (*GetProtectionReq) ProtoMessage ¶
func (*GetProtectionReq) ProtoMessage()
func (*GetProtectionReq) ProtoReflect ¶
func (x *GetProtectionReq) ProtoReflect() protoreflect.Message
func (*GetProtectionReq) Reset ¶
func (x *GetProtectionReq) Reset()
func (*GetProtectionReq) String ¶
func (x *GetProtectionReq) String() string
func (*GetProtectionReq) Validate ¶
func (m *GetProtectionReq) Validate() error
Validate checks the field values on GetProtectionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionReq) ValidateAll ¶
func (m *GetProtectionReq) ValidateAll() error
ValidateAll checks the field values on GetProtectionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionReqMultiError, or nil if none found.
type GetProtectionReqMultiError ¶
type GetProtectionReqMultiError []error
GetProtectionReqMultiError is an error wrapping multiple validation errors returned by GetProtectionReq.ValidateAll() if the designated constraints aren't met.
func (GetProtectionReqMultiError) AllErrors ¶
func (m GetProtectionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionReqMultiError) Error ¶
func (m GetProtectionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionReqValidationError ¶
type GetProtectionReqValidationError struct {
// contains filtered or unexported fields
}
GetProtectionReqValidationError is the validation error returned by GetProtectionReq.Validate if the designated constraints aren't met.
func (GetProtectionReqValidationError) Cause ¶
func (e GetProtectionReqValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionReqValidationError) Error ¶
func (e GetProtectionReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionReqValidationError) ErrorName ¶
func (e GetProtectionReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionReqValidationError) Field ¶
func (e GetProtectionReqValidationError) Field() string
Field function returns field value.
func (GetProtectionReqValidationError) Key ¶
func (e GetProtectionReqValidationError) Key() bool
Key function returns key value.
func (GetProtectionReqValidationError) Reason ¶
func (e GetProtectionReqValidationError) Reason() string
Reason function returns reason value.
type GetProtectionResp ¶
type GetProtectionResp struct { Protection *Protection `protobuf:"bytes,1,opt,name=protection,proto3" json:"protection,omitempty"` // contains filtered or unexported fields }
func (*GetProtectionResp) Descriptor
deprecated
func (*GetProtectionResp) Descriptor() ([]byte, []int)
Deprecated: Use GetProtectionResp.ProtoReflect.Descriptor instead.
func (*GetProtectionResp) GetProtection ¶
func (x *GetProtectionResp) GetProtection() *Protection
func (*GetProtectionResp) ProtoMessage ¶
func (*GetProtectionResp) ProtoMessage()
func (*GetProtectionResp) ProtoReflect ¶
func (x *GetProtectionResp) ProtoReflect() protoreflect.Message
func (*GetProtectionResp) Reset ¶
func (x *GetProtectionResp) Reset()
func (*GetProtectionResp) String ¶
func (x *GetProtectionResp) String() string
func (*GetProtectionResp) Validate ¶
func (m *GetProtectionResp) Validate() error
Validate checks the field values on GetProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProtectionResp) ValidateAll ¶
func (m *GetProtectionResp) ValidateAll() error
ValidateAll checks the field values on GetProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProtectionRespMultiError, or nil if none found.
type GetProtectionRespMultiError ¶
type GetProtectionRespMultiError []error
GetProtectionRespMultiError is an error wrapping multiple validation errors returned by GetProtectionResp.ValidateAll() if the designated constraints aren't met.
func (GetProtectionRespMultiError) AllErrors ¶
func (m GetProtectionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProtectionRespMultiError) Error ¶
func (m GetProtectionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProtectionRespValidationError ¶
type GetProtectionRespValidationError struct {
// contains filtered or unexported fields
}
GetProtectionRespValidationError is the validation error returned by GetProtectionResp.Validate if the designated constraints aren't met.
func (GetProtectionRespValidationError) Cause ¶
func (e GetProtectionRespValidationError) Cause() error
Cause function returns cause value.
func (GetProtectionRespValidationError) Error ¶
func (e GetProtectionRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProtectionRespValidationError) ErrorName ¶
func (e GetProtectionRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProtectionRespValidationError) Field ¶
func (e GetProtectionRespValidationError) Field() string
Field function returns field value.
func (GetProtectionRespValidationError) Key ¶
func (e GetProtectionRespValidationError) Key() bool
Key function returns key value.
func (GetProtectionRespValidationError) Reason ¶
func (e GetProtectionRespValidationError) Reason() string
Reason function returns reason value.
type ListProtectionsReq ¶
type ListProtectionsReq struct { PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListProtectionsReq) Descriptor
deprecated
func (*ListProtectionsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListProtectionsReq.ProtoReflect.Descriptor instead.
func (*ListProtectionsReq) GetPageSize ¶
func (x *ListProtectionsReq) GetPageSize() int32
func (*ListProtectionsReq) GetPageToken ¶
func (x *ListProtectionsReq) GetPageToken() string
func (*ListProtectionsReq) ProtoMessage ¶
func (*ListProtectionsReq) ProtoMessage()
func (*ListProtectionsReq) ProtoReflect ¶
func (x *ListProtectionsReq) ProtoReflect() protoreflect.Message
func (*ListProtectionsReq) Reset ¶
func (x *ListProtectionsReq) Reset()
func (*ListProtectionsReq) String ¶
func (x *ListProtectionsReq) String() string
func (*ListProtectionsReq) Validate ¶
func (m *ListProtectionsReq) Validate() error
Validate checks the field values on ListProtectionsReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProtectionsReq) ValidateAll ¶
func (m *ListProtectionsReq) ValidateAll() error
ValidateAll checks the field values on ListProtectionsReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProtectionsReqMultiError, or nil if none found.
type ListProtectionsReqMultiError ¶
type ListProtectionsReqMultiError []error
ListProtectionsReqMultiError is an error wrapping multiple validation errors returned by ListProtectionsReq.ValidateAll() if the designated constraints aren't met.
func (ListProtectionsReqMultiError) AllErrors ¶
func (m ListProtectionsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProtectionsReqMultiError) Error ¶
func (m ListProtectionsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProtectionsReqValidationError ¶
type ListProtectionsReqValidationError struct {
// contains filtered or unexported fields
}
ListProtectionsReqValidationError is the validation error returned by ListProtectionsReq.Validate if the designated constraints aren't met.
func (ListProtectionsReqValidationError) Cause ¶
func (e ListProtectionsReqValidationError) Cause() error
Cause function returns cause value.
func (ListProtectionsReqValidationError) Error ¶
func (e ListProtectionsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListProtectionsReqValidationError) ErrorName ¶
func (e ListProtectionsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListProtectionsReqValidationError) Field ¶
func (e ListProtectionsReqValidationError) Field() string
Field function returns field value.
func (ListProtectionsReqValidationError) Key ¶
func (e ListProtectionsReqValidationError) Key() bool
Key function returns key value.
func (ListProtectionsReqValidationError) Reason ¶
func (e ListProtectionsReqValidationError) Reason() string
Reason function returns reason value.
type ListProtectionsResp ¶
type ListProtectionsResp struct { Protections []*Protection `protobuf:"bytes,1,rep,name=protections,proto3" json:"protections,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListProtectionsResp) Descriptor
deprecated
func (*ListProtectionsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListProtectionsResp.ProtoReflect.Descriptor instead.
func (*ListProtectionsResp) GetNextPageToken ¶
func (x *ListProtectionsResp) GetNextPageToken() string
func (*ListProtectionsResp) GetProtections ¶
func (x *ListProtectionsResp) GetProtections() []*Protection
func (*ListProtectionsResp) ProtoMessage ¶
func (*ListProtectionsResp) ProtoMessage()
func (*ListProtectionsResp) ProtoReflect ¶
func (x *ListProtectionsResp) ProtoReflect() protoreflect.Message
func (*ListProtectionsResp) Reset ¶
func (x *ListProtectionsResp) Reset()
func (*ListProtectionsResp) String ¶
func (x *ListProtectionsResp) String() string
func (*ListProtectionsResp) Validate ¶
func (m *ListProtectionsResp) Validate() error
Validate checks the field values on ListProtectionsResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProtectionsResp) ValidateAll ¶
func (m *ListProtectionsResp) ValidateAll() error
ValidateAll checks the field values on ListProtectionsResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProtectionsRespMultiError, or nil if none found.
type ListProtectionsRespMultiError ¶
type ListProtectionsRespMultiError []error
ListProtectionsRespMultiError is an error wrapping multiple validation errors returned by ListProtectionsResp.ValidateAll() if the designated constraints aren't met.
func (ListProtectionsRespMultiError) AllErrors ¶
func (m ListProtectionsRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProtectionsRespMultiError) Error ¶
func (m ListProtectionsRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProtectionsRespValidationError ¶
type ListProtectionsRespValidationError struct {
// contains filtered or unexported fields
}
ListProtectionsRespValidationError is the validation error returned by ListProtectionsResp.Validate if the designated constraints aren't met.
func (ListProtectionsRespValidationError) Cause ¶
func (e ListProtectionsRespValidationError) Cause() error
Cause function returns cause value.
func (ListProtectionsRespValidationError) Error ¶
func (e ListProtectionsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListProtectionsRespValidationError) ErrorName ¶
func (e ListProtectionsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListProtectionsRespValidationError) Field ¶
func (e ListProtectionsRespValidationError) Field() string
Field function returns field value.
func (ListProtectionsRespValidationError) Key ¶
func (e ListProtectionsRespValidationError) Key() bool
Key function returns key value.
func (ListProtectionsRespValidationError) Reason ¶
func (e ListProtectionsRespValidationError) Reason() string
Reason function returns reason value.
type Protection ¶
type Protection struct { Meta *object.ObjectMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Config *ProtectionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Builtin bool `protobuf:"varint,3,opt,name=builtin,proto3" json:"builtin,omitempty"` // indicates this protection is provided by Prodvana by default. // contains filtered or unexported fields }
func (*Protection) Descriptor
deprecated
func (*Protection) Descriptor() ([]byte, []int)
Deprecated: Use Protection.ProtoReflect.Descriptor instead.
func (*Protection) GetBuiltin ¶
func (x *Protection) GetBuiltin() bool
func (*Protection) GetConfig ¶
func (x *Protection) GetConfig() *ProtectionConfig
func (*Protection) GetMeta ¶
func (x *Protection) GetMeta() *object.ObjectMeta
func (*Protection) ProtoMessage ¶
func (*Protection) ProtoMessage()
func (*Protection) ProtoReflect ¶
func (x *Protection) ProtoReflect() protoreflect.Message
func (*Protection) Reset ¶
func (x *Protection) Reset()
func (*Protection) String ¶
func (x *Protection) String() string
func (*Protection) Validate ¶
func (m *Protection) Validate() error
Validate checks the field values on Protection with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Protection) ValidateAll ¶
func (m *Protection) ValidateAll() error
ValidateAll checks the field values on Protection with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionMultiError, or nil if none found.
type ProtectionAttachment ¶
type ProtectionAttachment struct { // Types that are assignable to Attachment: // // *ProtectionAttachment_ServiceInstance // *ProtectionAttachment_ReleaseChannel // *ProtectionAttachment_Convergence Attachment isProtectionAttachment_Attachment `protobuf_oneof:"attachment"` // contains filtered or unexported fields }
func (*ProtectionAttachment) Descriptor
deprecated
func (*ProtectionAttachment) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionAttachment.ProtoReflect.Descriptor instead.
func (*ProtectionAttachment) GetAttachment ¶
func (m *ProtectionAttachment) GetAttachment() isProtectionAttachment_Attachment
func (*ProtectionAttachment) GetConvergence ¶ added in v0.3.3
func (x *ProtectionAttachment) GetConvergence() *ConvergenceAttachment
func (*ProtectionAttachment) GetReleaseChannel ¶
func (x *ProtectionAttachment) GetReleaseChannel() *ReleaseChannelAttachment
func (*ProtectionAttachment) GetServiceInstance ¶
func (x *ProtectionAttachment) GetServiceInstance() *ServiceInstanceAttachment
func (*ProtectionAttachment) ProtoMessage ¶
func (*ProtectionAttachment) ProtoMessage()
func (*ProtectionAttachment) ProtoReflect ¶
func (x *ProtectionAttachment) ProtoReflect() protoreflect.Message
func (*ProtectionAttachment) Reset ¶
func (x *ProtectionAttachment) Reset()
func (*ProtectionAttachment) String ¶
func (x *ProtectionAttachment) String() string
func (*ProtectionAttachment) Validate ¶
func (m *ProtectionAttachment) Validate() error
Validate checks the field values on ProtectionAttachment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionAttachment) ValidateAll ¶
func (m *ProtectionAttachment) ValidateAll() error
ValidateAll checks the field values on ProtectionAttachment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionAttachmentMultiError, or nil if none found.
type ProtectionAttachmentConfig ¶ added in v0.2.0
type ProtectionAttachmentConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // optional, default to protection name Ref *ProtectionReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // if set, the attachment is automatically used in all deployments for the subject of this attachment. // e.g. for release channels, all service instances in that release channel will use the attachment. Lifecycle []*ProtectionLifecycle `protobuf:"bytes,3,rep,name=lifecycle,proto3" json:"lifecycle,omitempty"` // contains filtered or unexported fields }
func (*ProtectionAttachmentConfig) Descriptor
deprecated
added in
v0.2.0
func (*ProtectionAttachmentConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionAttachmentConfig.ProtoReflect.Descriptor instead.
func (*ProtectionAttachmentConfig) GetLifecycle ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) GetLifecycle() []*ProtectionLifecycle
func (*ProtectionAttachmentConfig) GetName ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) GetName() string
func (*ProtectionAttachmentConfig) GetRef ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) GetRef() *ProtectionReference
func (*ProtectionAttachmentConfig) ProtoMessage ¶ added in v0.2.0
func (*ProtectionAttachmentConfig) ProtoMessage()
func (*ProtectionAttachmentConfig) ProtoReflect ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) ProtoReflect() protoreflect.Message
func (*ProtectionAttachmentConfig) Reset ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) Reset()
func (*ProtectionAttachmentConfig) String ¶ added in v0.2.0
func (x *ProtectionAttachmentConfig) String() string
func (*ProtectionAttachmentConfig) Validate ¶ added in v0.2.0
func (m *ProtectionAttachmentConfig) Validate() error
Validate checks the field values on ProtectionAttachmentConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionAttachmentConfig) ValidateAll ¶ added in v0.2.0
func (m *ProtectionAttachmentConfig) ValidateAll() error
ValidateAll checks the field values on ProtectionAttachmentConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionAttachmentConfigMultiError, or nil if none found.
type ProtectionAttachmentConfigMultiError ¶ added in v0.2.0
type ProtectionAttachmentConfigMultiError []error
ProtectionAttachmentConfigMultiError is an error wrapping multiple validation errors returned by ProtectionAttachmentConfig.ValidateAll() if the designated constraints aren't met.
func (ProtectionAttachmentConfigMultiError) AllErrors ¶ added in v0.2.0
func (m ProtectionAttachmentConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionAttachmentConfigMultiError) Error ¶ added in v0.2.0
func (m ProtectionAttachmentConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionAttachmentConfigValidationError ¶ added in v0.2.0
type ProtectionAttachmentConfigValidationError struct {
// contains filtered or unexported fields
}
ProtectionAttachmentConfigValidationError is the validation error returned by ProtectionAttachmentConfig.Validate if the designated constraints aren't met.
func (ProtectionAttachmentConfigValidationError) Cause ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) Cause() error
Cause function returns cause value.
func (ProtectionAttachmentConfigValidationError) Error ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionAttachmentConfigValidationError) ErrorName ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionAttachmentConfigValidationError) Field ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) Field() string
Field function returns field value.
func (ProtectionAttachmentConfigValidationError) Key ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) Key() bool
Key function returns key value.
func (ProtectionAttachmentConfigValidationError) Reason ¶ added in v0.2.0
func (e ProtectionAttachmentConfigValidationError) Reason() string
Reason function returns reason value.
type ProtectionAttachmentMultiError ¶
type ProtectionAttachmentMultiError []error
ProtectionAttachmentMultiError is an error wrapping multiple validation errors returned by ProtectionAttachment.ValidateAll() if the designated constraints aren't met.
func (ProtectionAttachmentMultiError) AllErrors ¶
func (m ProtectionAttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionAttachmentMultiError) Error ¶
func (m ProtectionAttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionAttachmentValidationError ¶
type ProtectionAttachmentValidationError struct {
// contains filtered or unexported fields
}
ProtectionAttachmentValidationError is the validation error returned by ProtectionAttachment.Validate if the designated constraints aren't met.
func (ProtectionAttachmentValidationError) Cause ¶
func (e ProtectionAttachmentValidationError) Cause() error
Cause function returns cause value.
func (ProtectionAttachmentValidationError) Error ¶
func (e ProtectionAttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionAttachmentValidationError) ErrorName ¶
func (e ProtectionAttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionAttachmentValidationError) Field ¶
func (e ProtectionAttachmentValidationError) Field() string
Field function returns field value.
func (ProtectionAttachmentValidationError) Key ¶
func (e ProtectionAttachmentValidationError) Key() bool
Key function returns key value.
func (ProtectionAttachmentValidationError) Reason ¶
func (e ProtectionAttachmentValidationError) Reason() string
Reason function returns reason value.
type ProtectionAttachment_Convergence ¶ added in v0.3.3
type ProtectionAttachment_Convergence struct {
Convergence *ConvergenceAttachment `protobuf:"bytes,3,opt,name=convergence,proto3,oneof"`
}
type ProtectionAttachment_ReleaseChannel ¶
type ProtectionAttachment_ReleaseChannel struct {
ReleaseChannel *ReleaseChannelAttachment `protobuf:"bytes,2,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}
type ProtectionAttachment_ServiceInstance ¶
type ProtectionAttachment_ServiceInstance struct {
ServiceInstance *ServiceInstanceAttachment `protobuf:"bytes,1,opt,name=service_instance,json=serviceInstance,proto3,oneof"`
}
type ProtectionConfig ¶
type ProtectionConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to ExecConfig: // // *ProtectionConfig_TaskConfig // *ProtectionConfig_KubernetesConfig // *ProtectionConfig_Builtin ExecConfig isProtectionConfig_ExecConfig `protobuf_oneof:"exec_config"` // customize intervals instead of using Prodvana default // how often to run check even if it succeeds PollInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=poll_interval,json=pollInterval,proto3" json:"poll_interval,omitempty"` // deprecated, not used Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` Parameters []*common_config.ParameterDefinition `protobuf:"bytes,6,rep,name=parameters,proto3" json:"parameters,omitempty"` // optional env variables to inject and override from exec_config Env map[string]*common_config.EnvValue `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProtectionConfig) Descriptor
deprecated
func (*ProtectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionConfig.ProtoReflect.Descriptor instead.
func (*ProtectionConfig) GetBuiltin ¶ added in v0.3.15
func (x *ProtectionConfig) GetBuiltin() *BuiltinProtectionConfig
func (*ProtectionConfig) GetEnv ¶ added in v0.1.19
func (x *ProtectionConfig) GetEnv() map[string]*common_config.EnvValue
func (*ProtectionConfig) GetExecConfig ¶
func (m *ProtectionConfig) GetExecConfig() isProtectionConfig_ExecConfig
func (*ProtectionConfig) GetKubernetesConfig ¶
func (x *ProtectionConfig) GetKubernetesConfig() *common_config.KubernetesConfig
func (*ProtectionConfig) GetName ¶
func (x *ProtectionConfig) GetName() string
func (*ProtectionConfig) GetParameters ¶
func (x *ProtectionConfig) GetParameters() []*common_config.ParameterDefinition
func (*ProtectionConfig) GetPollInterval ¶
func (x *ProtectionConfig) GetPollInterval() *durationpb.Duration
func (*ProtectionConfig) GetTaskConfig ¶
func (x *ProtectionConfig) GetTaskConfig() *common_config.TaskConfig
func (*ProtectionConfig) GetTimeout ¶
func (x *ProtectionConfig) GetTimeout() *durationpb.Duration
func (*ProtectionConfig) ProtoMessage ¶
func (*ProtectionConfig) ProtoMessage()
func (*ProtectionConfig) ProtoReflect ¶
func (x *ProtectionConfig) ProtoReflect() protoreflect.Message
func (*ProtectionConfig) Reset ¶
func (x *ProtectionConfig) Reset()
func (*ProtectionConfig) String ¶
func (x *ProtectionConfig) String() string
func (*ProtectionConfig) Validate ¶
func (m *ProtectionConfig) Validate() error
Validate checks the field values on ProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionConfig) ValidateAll ¶
func (m *ProtectionConfig) ValidateAll() error
ValidateAll checks the field values on ProtectionConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionConfigMultiError, or nil if none found.
type ProtectionConfigMultiError ¶
type ProtectionConfigMultiError []error
ProtectionConfigMultiError is an error wrapping multiple validation errors returned by ProtectionConfig.ValidateAll() if the designated constraints aren't met.
func (ProtectionConfigMultiError) AllErrors ¶
func (m ProtectionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionConfigMultiError) Error ¶
func (m ProtectionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionConfigValidationError ¶
type ProtectionConfigValidationError struct {
// contains filtered or unexported fields
}
ProtectionConfigValidationError is the validation error returned by ProtectionConfig.Validate if the designated constraints aren't met.
func (ProtectionConfigValidationError) Cause ¶
func (e ProtectionConfigValidationError) Cause() error
Cause function returns cause value.
func (ProtectionConfigValidationError) Error ¶
func (e ProtectionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionConfigValidationError) ErrorName ¶
func (e ProtectionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionConfigValidationError) Field ¶
func (e ProtectionConfigValidationError) Field() string
Field function returns field value.
func (ProtectionConfigValidationError) Key ¶
func (e ProtectionConfigValidationError) Key() bool
Key function returns key value.
func (ProtectionConfigValidationError) Reason ¶
func (e ProtectionConfigValidationError) Reason() string
Reason function returns reason value.
type ProtectionConfig_Builtin ¶ added in v0.3.15
type ProtectionConfig_Builtin struct {
Builtin *BuiltinProtectionConfig `protobuf:"bytes,9,opt,name=builtin,proto3,oneof"`
}
type ProtectionConfig_KubernetesConfig ¶
type ProtectionConfig_KubernetesConfig struct {
KubernetesConfig *common_config.KubernetesConfig `protobuf:"bytes,3,opt,name=kubernetes_config,json=kubernetesConfig,proto3,oneof"`
}
type ProtectionConfig_TaskConfig ¶
type ProtectionConfig_TaskConfig struct { // Inline task config with retry, template support. TaskConfig *common_config.TaskConfig `protobuf:"bytes,2,opt,name=task_config,json=taskConfig,proto3,oneof"` }
type ProtectionLifecycle ¶
type ProtectionLifecycle struct { // Types that are assignable to Lifecycle: // // *ProtectionLifecycle_PreApproval_ // *ProtectionLifecycle_PostApproval_ // *ProtectionLifecycle_Deployment_ // *ProtectionLifecycle_PostDeployment_ Lifecycle isProtectionLifecycle_Lifecycle `protobuf_oneof:"lifecycle"` // contains filtered or unexported fields }
func (*ProtectionLifecycle) Descriptor
deprecated
func (*ProtectionLifecycle) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionLifecycle.ProtoReflect.Descriptor instead.
func (*ProtectionLifecycle) GetDeployment ¶
func (x *ProtectionLifecycle) GetDeployment() *ProtectionLifecycle_Deployment
func (*ProtectionLifecycle) GetLifecycle ¶
func (m *ProtectionLifecycle) GetLifecycle() isProtectionLifecycle_Lifecycle
func (*ProtectionLifecycle) GetPostApproval ¶
func (x *ProtectionLifecycle) GetPostApproval() *ProtectionLifecycle_PostApproval
func (*ProtectionLifecycle) GetPostDeployment ¶
func (x *ProtectionLifecycle) GetPostDeployment() *ProtectionLifecycle_PostDeployment
func (*ProtectionLifecycle) GetPreApproval ¶
func (x *ProtectionLifecycle) GetPreApproval() *ProtectionLifecycle_PreApproval
func (*ProtectionLifecycle) ProtoMessage ¶
func (*ProtectionLifecycle) ProtoMessage()
func (*ProtectionLifecycle) ProtoReflect ¶
func (x *ProtectionLifecycle) ProtoReflect() protoreflect.Message
func (*ProtectionLifecycle) Reset ¶
func (x *ProtectionLifecycle) Reset()
func (*ProtectionLifecycle) String ¶
func (x *ProtectionLifecycle) String() string
func (*ProtectionLifecycle) Validate ¶
func (m *ProtectionLifecycle) Validate() error
Validate checks the field values on ProtectionLifecycle with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionLifecycle) ValidateAll ¶
func (m *ProtectionLifecycle) ValidateAll() error
ValidateAll checks the field values on ProtectionLifecycle with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionLifecycleMultiError, or nil if none found.
type ProtectionLifecycleMultiError ¶
type ProtectionLifecycleMultiError []error
ProtectionLifecycleMultiError is an error wrapping multiple validation errors returned by ProtectionLifecycle.ValidateAll() if the designated constraints aren't met.
func (ProtectionLifecycleMultiError) AllErrors ¶
func (m ProtectionLifecycleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionLifecycleMultiError) Error ¶
func (m ProtectionLifecycleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionLifecycleValidationError ¶
type ProtectionLifecycleValidationError struct {
// contains filtered or unexported fields
}
ProtectionLifecycleValidationError is the validation error returned by ProtectionLifecycle.Validate if the designated constraints aren't met.
func (ProtectionLifecycleValidationError) Cause ¶
func (e ProtectionLifecycleValidationError) Cause() error
Cause function returns cause value.
func (ProtectionLifecycleValidationError) Error ¶
func (e ProtectionLifecycleValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionLifecycleValidationError) ErrorName ¶
func (e ProtectionLifecycleValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionLifecycleValidationError) Field ¶
func (e ProtectionLifecycleValidationError) Field() string
Field function returns field value.
func (ProtectionLifecycleValidationError) Key ¶
func (e ProtectionLifecycleValidationError) Key() bool
Key function returns key value.
func (ProtectionLifecycleValidationError) Reason ¶
func (e ProtectionLifecycleValidationError) Reason() string
Reason function returns reason value.
type ProtectionLifecycle_Deployment ¶
type ProtectionLifecycle_Deployment struct {
// contains filtered or unexported fields
}
func (*ProtectionLifecycle_Deployment) Descriptor
deprecated
func (*ProtectionLifecycle_Deployment) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionLifecycle_Deployment.ProtoReflect.Descriptor instead.
func (*ProtectionLifecycle_Deployment) ProtoMessage ¶
func (*ProtectionLifecycle_Deployment) ProtoMessage()
func (*ProtectionLifecycle_Deployment) ProtoReflect ¶
func (x *ProtectionLifecycle_Deployment) ProtoReflect() protoreflect.Message
func (*ProtectionLifecycle_Deployment) Reset ¶
func (x *ProtectionLifecycle_Deployment) Reset()
func (*ProtectionLifecycle_Deployment) String ¶
func (x *ProtectionLifecycle_Deployment) String() string
func (*ProtectionLifecycle_Deployment) Validate ¶
func (m *ProtectionLifecycle_Deployment) Validate() error
Validate checks the field values on ProtectionLifecycle_Deployment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionLifecycle_Deployment) ValidateAll ¶
func (m *ProtectionLifecycle_Deployment) ValidateAll() error
ValidateAll checks the field values on ProtectionLifecycle_Deployment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionLifecycle_DeploymentMultiError, or nil if none found.
type ProtectionLifecycle_DeploymentMultiError ¶
type ProtectionLifecycle_DeploymentMultiError []error
ProtectionLifecycle_DeploymentMultiError is an error wrapping multiple validation errors returned by ProtectionLifecycle_Deployment.ValidateAll() if the designated constraints aren't met.
func (ProtectionLifecycle_DeploymentMultiError) AllErrors ¶
func (m ProtectionLifecycle_DeploymentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionLifecycle_DeploymentMultiError) Error ¶
func (m ProtectionLifecycle_DeploymentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionLifecycle_DeploymentValidationError ¶
type ProtectionLifecycle_DeploymentValidationError struct {
// contains filtered or unexported fields
}
ProtectionLifecycle_DeploymentValidationError is the validation error returned by ProtectionLifecycle_Deployment.Validate if the designated constraints aren't met.
func (ProtectionLifecycle_DeploymentValidationError) Cause ¶
func (e ProtectionLifecycle_DeploymentValidationError) Cause() error
Cause function returns cause value.
func (ProtectionLifecycle_DeploymentValidationError) Error ¶
func (e ProtectionLifecycle_DeploymentValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionLifecycle_DeploymentValidationError) ErrorName ¶
func (e ProtectionLifecycle_DeploymentValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionLifecycle_DeploymentValidationError) Field ¶
func (e ProtectionLifecycle_DeploymentValidationError) Field() string
Field function returns field value.
func (ProtectionLifecycle_DeploymentValidationError) Key ¶
func (e ProtectionLifecycle_DeploymentValidationError) Key() bool
Key function returns key value.
func (ProtectionLifecycle_DeploymentValidationError) Reason ¶
func (e ProtectionLifecycle_DeploymentValidationError) Reason() string
Reason function returns reason value.
type ProtectionLifecycle_Deployment_ ¶
type ProtectionLifecycle_Deployment_ struct {
Deployment *ProtectionLifecycle_Deployment `protobuf:"bytes,4,opt,name=deployment,proto3,oneof"`
}
type ProtectionLifecycle_PostApproval ¶
type ProtectionLifecycle_PostApproval struct {
// contains filtered or unexported fields
}
func (*ProtectionLifecycle_PostApproval) Descriptor
deprecated
func (*ProtectionLifecycle_PostApproval) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionLifecycle_PostApproval.ProtoReflect.Descriptor instead.
func (*ProtectionLifecycle_PostApproval) ProtoMessage ¶
func (*ProtectionLifecycle_PostApproval) ProtoMessage()
func (*ProtectionLifecycle_PostApproval) ProtoReflect ¶
func (x *ProtectionLifecycle_PostApproval) ProtoReflect() protoreflect.Message
func (*ProtectionLifecycle_PostApproval) Reset ¶
func (x *ProtectionLifecycle_PostApproval) Reset()
func (*ProtectionLifecycle_PostApproval) String ¶
func (x *ProtectionLifecycle_PostApproval) String() string
func (*ProtectionLifecycle_PostApproval) Validate ¶
func (m *ProtectionLifecycle_PostApproval) Validate() error
Validate checks the field values on ProtectionLifecycle_PostApproval with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionLifecycle_PostApproval) ValidateAll ¶
func (m *ProtectionLifecycle_PostApproval) ValidateAll() error
ValidateAll checks the field values on ProtectionLifecycle_PostApproval with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionLifecycle_PostApprovalMultiError, or nil if none found.
type ProtectionLifecycle_PostApprovalMultiError ¶
type ProtectionLifecycle_PostApprovalMultiError []error
ProtectionLifecycle_PostApprovalMultiError is an error wrapping multiple validation errors returned by ProtectionLifecycle_PostApproval.ValidateAll() if the designated constraints aren't met.
func (ProtectionLifecycle_PostApprovalMultiError) AllErrors ¶
func (m ProtectionLifecycle_PostApprovalMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionLifecycle_PostApprovalMultiError) Error ¶
func (m ProtectionLifecycle_PostApprovalMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionLifecycle_PostApprovalValidationError ¶
type ProtectionLifecycle_PostApprovalValidationError struct {
// contains filtered or unexported fields
}
ProtectionLifecycle_PostApprovalValidationError is the validation error returned by ProtectionLifecycle_PostApproval.Validate if the designated constraints aren't met.
func (ProtectionLifecycle_PostApprovalValidationError) Cause ¶
func (e ProtectionLifecycle_PostApprovalValidationError) Cause() error
Cause function returns cause value.
func (ProtectionLifecycle_PostApprovalValidationError) Error ¶
func (e ProtectionLifecycle_PostApprovalValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionLifecycle_PostApprovalValidationError) ErrorName ¶
func (e ProtectionLifecycle_PostApprovalValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionLifecycle_PostApprovalValidationError) Field ¶
func (e ProtectionLifecycle_PostApprovalValidationError) Field() string
Field function returns field value.
func (ProtectionLifecycle_PostApprovalValidationError) Key ¶
func (e ProtectionLifecycle_PostApprovalValidationError) Key() bool
Key function returns key value.
func (ProtectionLifecycle_PostApprovalValidationError) Reason ¶
func (e ProtectionLifecycle_PostApprovalValidationError) Reason() string
Reason function returns reason value.
type ProtectionLifecycle_PostApproval_ ¶
type ProtectionLifecycle_PostApproval_ struct { // Approval approval = 2; PostApproval *ProtectionLifecycle_PostApproval `protobuf:"bytes,3,opt,name=post_approval,json=postApproval,proto3,oneof"` }
type ProtectionLifecycle_PostDeployment ¶
type ProtectionLifecycle_PostDeployment struct { // How long after the deployment completes should we start checking status? // e.g, delay health checks X minutes after deployment (if deployment is noisy). DelayCheckDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=delay_check_duration,json=delayCheckDuration,proto3" json:"delay_check_duration,omitempty"` // How long after starting should we check for? CheckDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` // contains filtered or unexported fields }
func (*ProtectionLifecycle_PostDeployment) Descriptor
deprecated
func (*ProtectionLifecycle_PostDeployment) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionLifecycle_PostDeployment.ProtoReflect.Descriptor instead.
func (*ProtectionLifecycle_PostDeployment) GetCheckDuration ¶
func (x *ProtectionLifecycle_PostDeployment) GetCheckDuration() *durationpb.Duration
func (*ProtectionLifecycle_PostDeployment) GetDelayCheckDuration ¶
func (x *ProtectionLifecycle_PostDeployment) GetDelayCheckDuration() *durationpb.Duration
func (*ProtectionLifecycle_PostDeployment) ProtoMessage ¶
func (*ProtectionLifecycle_PostDeployment) ProtoMessage()
func (*ProtectionLifecycle_PostDeployment) ProtoReflect ¶
func (x *ProtectionLifecycle_PostDeployment) ProtoReflect() protoreflect.Message
func (*ProtectionLifecycle_PostDeployment) Reset ¶
func (x *ProtectionLifecycle_PostDeployment) Reset()
func (*ProtectionLifecycle_PostDeployment) String ¶
func (x *ProtectionLifecycle_PostDeployment) String() string
func (*ProtectionLifecycle_PostDeployment) Validate ¶
func (m *ProtectionLifecycle_PostDeployment) Validate() error
Validate checks the field values on ProtectionLifecycle_PostDeployment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionLifecycle_PostDeployment) ValidateAll ¶
func (m *ProtectionLifecycle_PostDeployment) ValidateAll() error
ValidateAll checks the field values on ProtectionLifecycle_PostDeployment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionLifecycle_PostDeploymentMultiError, or nil if none found.
type ProtectionLifecycle_PostDeploymentMultiError ¶
type ProtectionLifecycle_PostDeploymentMultiError []error
ProtectionLifecycle_PostDeploymentMultiError is an error wrapping multiple validation errors returned by ProtectionLifecycle_PostDeployment.ValidateAll() if the designated constraints aren't met.
func (ProtectionLifecycle_PostDeploymentMultiError) AllErrors ¶
func (m ProtectionLifecycle_PostDeploymentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionLifecycle_PostDeploymentMultiError) Error ¶
func (m ProtectionLifecycle_PostDeploymentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionLifecycle_PostDeploymentValidationError ¶
type ProtectionLifecycle_PostDeploymentValidationError struct {
// contains filtered or unexported fields
}
ProtectionLifecycle_PostDeploymentValidationError is the validation error returned by ProtectionLifecycle_PostDeployment.Validate if the designated constraints aren't met.
func (ProtectionLifecycle_PostDeploymentValidationError) Cause ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) Cause() error
Cause function returns cause value.
func (ProtectionLifecycle_PostDeploymentValidationError) Error ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionLifecycle_PostDeploymentValidationError) ErrorName ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionLifecycle_PostDeploymentValidationError) Field ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) Field() string
Field function returns field value.
func (ProtectionLifecycle_PostDeploymentValidationError) Key ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) Key() bool
Key function returns key value.
func (ProtectionLifecycle_PostDeploymentValidationError) Reason ¶
func (e ProtectionLifecycle_PostDeploymentValidationError) Reason() string
Reason function returns reason value.
type ProtectionLifecycle_PostDeployment_ ¶
type ProtectionLifecycle_PostDeployment_ struct {
PostDeployment *ProtectionLifecycle_PostDeployment `protobuf:"bytes,5,opt,name=post_deployment,json=postDeployment,proto3,oneof"`
}
type ProtectionLifecycle_PreApproval ¶
type ProtectionLifecycle_PreApproval struct {
// contains filtered or unexported fields
}
func (*ProtectionLifecycle_PreApproval) Descriptor
deprecated
func (*ProtectionLifecycle_PreApproval) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionLifecycle_PreApproval.ProtoReflect.Descriptor instead.
func (*ProtectionLifecycle_PreApproval) ProtoMessage ¶
func (*ProtectionLifecycle_PreApproval) ProtoMessage()
func (*ProtectionLifecycle_PreApproval) ProtoReflect ¶
func (x *ProtectionLifecycle_PreApproval) ProtoReflect() protoreflect.Message
func (*ProtectionLifecycle_PreApproval) Reset ¶
func (x *ProtectionLifecycle_PreApproval) Reset()
func (*ProtectionLifecycle_PreApproval) String ¶
func (x *ProtectionLifecycle_PreApproval) String() string
func (*ProtectionLifecycle_PreApproval) Validate ¶
func (m *ProtectionLifecycle_PreApproval) Validate() error
Validate checks the field values on ProtectionLifecycle_PreApproval with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionLifecycle_PreApproval) ValidateAll ¶
func (m *ProtectionLifecycle_PreApproval) ValidateAll() error
ValidateAll checks the field values on ProtectionLifecycle_PreApproval with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionLifecycle_PreApprovalMultiError, or nil if none found.
type ProtectionLifecycle_PreApprovalMultiError ¶
type ProtectionLifecycle_PreApprovalMultiError []error
ProtectionLifecycle_PreApprovalMultiError is an error wrapping multiple validation errors returned by ProtectionLifecycle_PreApproval.ValidateAll() if the designated constraints aren't met.
func (ProtectionLifecycle_PreApprovalMultiError) AllErrors ¶
func (m ProtectionLifecycle_PreApprovalMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionLifecycle_PreApprovalMultiError) Error ¶
func (m ProtectionLifecycle_PreApprovalMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionLifecycle_PreApprovalValidationError ¶
type ProtectionLifecycle_PreApprovalValidationError struct {
// contains filtered or unexported fields
}
ProtectionLifecycle_PreApprovalValidationError is the validation error returned by ProtectionLifecycle_PreApproval.Validate if the designated constraints aren't met.
func (ProtectionLifecycle_PreApprovalValidationError) Cause ¶
func (e ProtectionLifecycle_PreApprovalValidationError) Cause() error
Cause function returns cause value.
func (ProtectionLifecycle_PreApprovalValidationError) Error ¶
func (e ProtectionLifecycle_PreApprovalValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionLifecycle_PreApprovalValidationError) ErrorName ¶
func (e ProtectionLifecycle_PreApprovalValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionLifecycle_PreApprovalValidationError) Field ¶
func (e ProtectionLifecycle_PreApprovalValidationError) Field() string
Field function returns field value.
func (ProtectionLifecycle_PreApprovalValidationError) Key ¶
func (e ProtectionLifecycle_PreApprovalValidationError) Key() bool
Key function returns key value.
func (ProtectionLifecycle_PreApprovalValidationError) Reason ¶
func (e ProtectionLifecycle_PreApprovalValidationError) Reason() string
Reason function returns reason value.
type ProtectionLifecycle_PreApproval_ ¶
type ProtectionLifecycle_PreApproval_ struct { // NOTE: Type here must match CustomTaskType PreApproval *ProtectionLifecycle_PreApproval `protobuf:"bytes,1,opt,name=pre_approval,json=preApproval,proto3,oneof"` }
type ProtectionManagerClient ¶
type ProtectionManagerClient interface { ConfigureProtection(ctx context.Context, in *ConfigureProtectionReq, opts ...grpc.CallOption) (*ConfigureProtectionResp, error) ValidateConfigureProtection(ctx context.Context, in *ConfigureProtectionReq, opts ...grpc.CallOption) (*ValidateConfigureProtectionResp, error) ListProtections(ctx context.Context, in *ListProtectionsReq, opts ...grpc.CallOption) (*ListProtectionsResp, error) GetProtection(ctx context.Context, in *GetProtectionReq, opts ...grpc.CallOption) (*GetProtectionResp, error) GetProtectionConfig(ctx context.Context, in *GetProtectionConfigReq, opts ...grpc.CallOption) (*GetProtectionConfigResp, error) GetProtectionAttachmentConfig(ctx context.Context, in *GetProtectionAttachmentConfigReq, opts ...grpc.CallOption) (*GetProtectionAttachmentConfigResp, error) }
ProtectionManagerClient is the client API for ProtectionManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProtectionManagerClient ¶
func NewProtectionManagerClient(cc grpc.ClientConnInterface) ProtectionManagerClient
type ProtectionManagerServer ¶
type ProtectionManagerServer interface { ConfigureProtection(context.Context, *ConfigureProtectionReq) (*ConfigureProtectionResp, error) ValidateConfigureProtection(context.Context, *ConfigureProtectionReq) (*ValidateConfigureProtectionResp, error) ListProtections(context.Context, *ListProtectionsReq) (*ListProtectionsResp, error) GetProtection(context.Context, *GetProtectionReq) (*GetProtectionResp, error) GetProtectionConfig(context.Context, *GetProtectionConfigReq) (*GetProtectionConfigResp, error) GetProtectionAttachmentConfig(context.Context, *GetProtectionAttachmentConfigReq) (*GetProtectionAttachmentConfigResp, error) // contains filtered or unexported methods }
ProtectionManagerServer is the server API for ProtectionManager service. All implementations must embed UnimplementedProtectionManagerServer for forward compatibility
type ProtectionMultiError ¶
type ProtectionMultiError []error
ProtectionMultiError is an error wrapping multiple validation errors returned by Protection.ValidateAll() if the designated constraints aren't met.
func (ProtectionMultiError) AllErrors ¶
func (m ProtectionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionMultiError) Error ¶
func (m ProtectionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionReference ¶
type ProtectionReference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Parameters []*common_config.ParameterValue `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
func (*ProtectionReference) Descriptor
deprecated
func (*ProtectionReference) Descriptor() ([]byte, []int)
Deprecated: Use ProtectionReference.ProtoReflect.Descriptor instead.
func (*ProtectionReference) GetName ¶
func (x *ProtectionReference) GetName() string
func (*ProtectionReference) GetParameters ¶
func (x *ProtectionReference) GetParameters() []*common_config.ParameterValue
func (*ProtectionReference) ProtoMessage ¶
func (*ProtectionReference) ProtoMessage()
func (*ProtectionReference) ProtoReflect ¶
func (x *ProtectionReference) ProtoReflect() protoreflect.Message
func (*ProtectionReference) Reset ¶
func (x *ProtectionReference) Reset()
func (*ProtectionReference) String ¶
func (x *ProtectionReference) String() string
func (*ProtectionReference) Validate ¶
func (m *ProtectionReference) Validate() error
Validate checks the field values on ProtectionReference with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProtectionReference) ValidateAll ¶
func (m *ProtectionReference) ValidateAll() error
ValidateAll checks the field values on ProtectionReference with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProtectionReferenceMultiError, or nil if none found.
type ProtectionReferenceMultiError ¶
type ProtectionReferenceMultiError []error
ProtectionReferenceMultiError is an error wrapping multiple validation errors returned by ProtectionReference.ValidateAll() if the designated constraints aren't met.
func (ProtectionReferenceMultiError) AllErrors ¶
func (m ProtectionReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtectionReferenceMultiError) Error ¶
func (m ProtectionReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtectionReferenceValidationError ¶
type ProtectionReferenceValidationError struct {
// contains filtered or unexported fields
}
ProtectionReferenceValidationError is the validation error returned by ProtectionReference.Validate if the designated constraints aren't met.
func (ProtectionReferenceValidationError) Cause ¶
func (e ProtectionReferenceValidationError) Cause() error
Cause function returns cause value.
func (ProtectionReferenceValidationError) Error ¶
func (e ProtectionReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionReferenceValidationError) ErrorName ¶
func (e ProtectionReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionReferenceValidationError) Field ¶
func (e ProtectionReferenceValidationError) Field() string
Field function returns field value.
func (ProtectionReferenceValidationError) Key ¶
func (e ProtectionReferenceValidationError) Key() bool
Key function returns key value.
func (ProtectionReferenceValidationError) Reason ¶
func (e ProtectionReferenceValidationError) Reason() string
Reason function returns reason value.
type ProtectionValidationError ¶
type ProtectionValidationError struct {
// contains filtered or unexported fields
}
ProtectionValidationError is the validation error returned by Protection.Validate if the designated constraints aren't met.
func (ProtectionValidationError) Cause ¶
func (e ProtectionValidationError) Cause() error
Cause function returns cause value.
func (ProtectionValidationError) Error ¶
func (e ProtectionValidationError) Error() string
Error satisfies the builtin error interface
func (ProtectionValidationError) ErrorName ¶
func (e ProtectionValidationError) ErrorName() string
ErrorName returns error name.
func (ProtectionValidationError) Field ¶
func (e ProtectionValidationError) Field() string
Field function returns field value.
func (ProtectionValidationError) Key ¶
func (e ProtectionValidationError) Key() bool
Key function returns key value.
func (ProtectionValidationError) Reason ¶
func (e ProtectionValidationError) Reason() string
Reason function returns reason value.
type ReleaseChannelAttachment ¶
type ReleaseChannelAttachment struct { Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` ReleaseChannel string `protobuf:"bytes,2,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` // contains filtered or unexported fields }
func (*ReleaseChannelAttachment) Descriptor
deprecated
func (*ReleaseChannelAttachment) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseChannelAttachment.ProtoReflect.Descriptor instead.
func (*ReleaseChannelAttachment) GetApplication ¶
func (x *ReleaseChannelAttachment) GetApplication() string
func (*ReleaseChannelAttachment) GetReleaseChannel ¶
func (x *ReleaseChannelAttachment) GetReleaseChannel() string
func (*ReleaseChannelAttachment) ProtoMessage ¶
func (*ReleaseChannelAttachment) ProtoMessage()
func (*ReleaseChannelAttachment) ProtoReflect ¶
func (x *ReleaseChannelAttachment) ProtoReflect() protoreflect.Message
func (*ReleaseChannelAttachment) Reset ¶
func (x *ReleaseChannelAttachment) Reset()
func (*ReleaseChannelAttachment) String ¶
func (x *ReleaseChannelAttachment) String() string
func (*ReleaseChannelAttachment) Validate ¶
func (m *ReleaseChannelAttachment) Validate() error
Validate checks the field values on ReleaseChannelAttachment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReleaseChannelAttachment) ValidateAll ¶
func (m *ReleaseChannelAttachment) ValidateAll() error
ValidateAll checks the field values on ReleaseChannelAttachment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseChannelAttachmentMultiError, or nil if none found.
type ReleaseChannelAttachmentMultiError ¶
type ReleaseChannelAttachmentMultiError []error
ReleaseChannelAttachmentMultiError is an error wrapping multiple validation errors returned by ReleaseChannelAttachment.ValidateAll() if the designated constraints aren't met.
func (ReleaseChannelAttachmentMultiError) AllErrors ¶
func (m ReleaseChannelAttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReleaseChannelAttachmentMultiError) Error ¶
func (m ReleaseChannelAttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReleaseChannelAttachmentValidationError ¶
type ReleaseChannelAttachmentValidationError struct {
// contains filtered or unexported fields
}
ReleaseChannelAttachmentValidationError is the validation error returned by ReleaseChannelAttachment.Validate if the designated constraints aren't met.
func (ReleaseChannelAttachmentValidationError) Cause ¶
func (e ReleaseChannelAttachmentValidationError) Cause() error
Cause function returns cause value.
func (ReleaseChannelAttachmentValidationError) Error ¶
func (e ReleaseChannelAttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (ReleaseChannelAttachmentValidationError) ErrorName ¶
func (e ReleaseChannelAttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (ReleaseChannelAttachmentValidationError) Field ¶
func (e ReleaseChannelAttachmentValidationError) Field() string
Field function returns field value.
func (ReleaseChannelAttachmentValidationError) Key ¶
func (e ReleaseChannelAttachmentValidationError) Key() bool
Key function returns key value.
func (ReleaseChannelAttachmentValidationError) Reason ¶
func (e ReleaseChannelAttachmentValidationError) Reason() string
Reason function returns reason value.
type ServiceInstanceAttachment ¶
type ServiceInstanceAttachment struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` ReleaseChannel string `protobuf:"bytes,2,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*ServiceInstanceAttachment) Descriptor
deprecated
func (*ServiceInstanceAttachment) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInstanceAttachment.ProtoReflect.Descriptor instead.
func (*ServiceInstanceAttachment) GetApplication ¶
func (x *ServiceInstanceAttachment) GetApplication() string
func (*ServiceInstanceAttachment) GetReleaseChannel ¶
func (x *ServiceInstanceAttachment) GetReleaseChannel() string
func (*ServiceInstanceAttachment) GetService ¶
func (x *ServiceInstanceAttachment) GetService() string
func (*ServiceInstanceAttachment) ProtoMessage ¶
func (*ServiceInstanceAttachment) ProtoMessage()
func (*ServiceInstanceAttachment) ProtoReflect ¶
func (x *ServiceInstanceAttachment) ProtoReflect() protoreflect.Message
func (*ServiceInstanceAttachment) Reset ¶
func (x *ServiceInstanceAttachment) Reset()
func (*ServiceInstanceAttachment) String ¶
func (x *ServiceInstanceAttachment) String() string
func (*ServiceInstanceAttachment) Validate ¶
func (m *ServiceInstanceAttachment) Validate() error
Validate checks the field values on ServiceInstanceAttachment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceInstanceAttachment) ValidateAll ¶
func (m *ServiceInstanceAttachment) ValidateAll() error
ValidateAll checks the field values on ServiceInstanceAttachment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceInstanceAttachmentMultiError, or nil if none found.
type ServiceInstanceAttachmentMultiError ¶
type ServiceInstanceAttachmentMultiError []error
ServiceInstanceAttachmentMultiError is an error wrapping multiple validation errors returned by ServiceInstanceAttachment.ValidateAll() if the designated constraints aren't met.
func (ServiceInstanceAttachmentMultiError) AllErrors ¶
func (m ServiceInstanceAttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceInstanceAttachmentMultiError) Error ¶
func (m ServiceInstanceAttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceInstanceAttachmentValidationError ¶
type ServiceInstanceAttachmentValidationError struct {
// contains filtered or unexported fields
}
ServiceInstanceAttachmentValidationError is the validation error returned by ServiceInstanceAttachment.Validate if the designated constraints aren't met.
func (ServiceInstanceAttachmentValidationError) Cause ¶
func (e ServiceInstanceAttachmentValidationError) Cause() error
Cause function returns cause value.
func (ServiceInstanceAttachmentValidationError) Error ¶
func (e ServiceInstanceAttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceInstanceAttachmentValidationError) ErrorName ¶
func (e ServiceInstanceAttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceInstanceAttachmentValidationError) Field ¶
func (e ServiceInstanceAttachmentValidationError) Field() string
Field function returns field value.
func (ServiceInstanceAttachmentValidationError) Key ¶
func (e ServiceInstanceAttachmentValidationError) Key() bool
Key function returns key value.
func (ServiceInstanceAttachmentValidationError) Reason ¶
func (e ServiceInstanceAttachmentValidationError) Reason() string
Reason function returns reason value.
type TimeWindow ¶ added in v0.3.27
type TimeWindow struct { // Supports aliases (weekdays and weekends), as well as ranges and comma separated lists of days // short (mon-thu) or full (monday-thursday) Days string `protobuf:"bytes,1,opt,name=days,proto3" json:"days,omitempty"` // Supports ranges (i.e. 10-20) and comma separated lists (i.e. 5,6,7,8) or a combination of the two Hours string `protobuf:"bytes,2,opt,name=hours,proto3" json:"hours,omitempty"` // defaults to UTC // supported values are: Africa/Abidjan, Africa/Accra, Africa/Addis_Ababa, Africa/Algiers, Africa/Asmara, Africa/Asmera, Africa/Bamako, Africa/Bangui, Africa/Banjul, Africa/Bissau, Africa/Blantyre, Africa/Brazzaville, Africa/Bujumbura, Africa/Cairo, Africa/Casablanca, Africa/Ceuta, Africa/Conakry, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Douala, Africa/El_Aaiun, Africa/Freetown, Africa/Gaborone, Africa/Harare, Africa/Johannesburg, Africa/Juba, Africa/Kampala, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Libreville, Africa/Lome, Africa/Luanda, Africa/Lubumbashi, Africa/Lusaka, Africa/Malabo, Africa/Maputo, Africa/Maseru, Africa/Mbabane, Africa/Mogadishu, Africa/Monrovia, Africa/Nairobi, Africa/Ndjamena, Africa/Niamey, Africa/Nouakchott, Africa/Ouagadougou, Africa/Porto-Novo, Africa/Sao_Tome, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, Africa/Windhoek, America/Adak, America/Anchorage, America/Anguilla, America/Antigua, America/Araguaina, America/Argentina/Buenos_Aires, America/Argentina/Catamarca, America/Argentina/ComodRivadavia, America/Argentina/Cordoba, America/Argentina/Jujuy, America/Argentina/La_Rioja, America/Argentina/Mendoza, America/Argentina/Rio_Gallegos, America/Argentina/Salta, America/Argentina/San_Juan, America/Argentina/San_Luis, America/Argentina/Tucuman, America/Argentina/Ushuaia, America/Aruba, America/Asuncion, America/Atikokan, America/Atka, America/Bahia, America/Bahia_Banderas, America/Barbados, America/Belem, America/Belize, America/Blanc-Sablon, America/Boa_Vista, America/Bogota, America/Boise, America/Buenos_Aires, America/Cambridge_Bay, America/Campo_Grande, America/Cancun, America/Caracas, America/Catamarca, America/Cayenne, America/Cayman, America/Chicago, America/Chihuahua, America/Coral_Harbour, America/Cordoba, America/Costa_Rica, America/Creston, America/Cuiaba, America/Curacao, America/Danmarkshavn, America/Dawson, America/Dawson_Creek, America/Denver, America/Detroit, America/Dominica, America/Edmonton, America/Eirunepe, America/El_Salvador, America/Ensenada, America/Fort_Nelson, America/Fort_Wayne, America/Fortaleza, America/Glace_Bay, America/Godthab, America/Goose_Bay, America/Grand_Turk, America/Grenada, America/Guadeloupe, America/Guatemala, America/Guayaquil, America/Guyana, America/Halifax, America/Havana, America/Hermosillo, America/Indiana/Indianapolis, America/Indiana/Knox, America/Indiana/Marengo, America/Indiana/Petersburg, America/Indiana/Tell_City, America/Indiana/Vevay, America/Indiana/Vincennes, America/Indiana/Winamac, America/Indianapolis, America/Inuvik, America/Iqaluit, America/Jamaica, America/Jujuy, America/Juneau, America/Kentucky/Louisville, America/Kentucky/Monticello, America/Knox_IN, America/Kralendijk, America/La_Paz, America/Lima, America/Los_Angeles, America/Louisville, America/Lower_Princes, America/Maceio, America/Managua, America/Manaus, America/Marigot, America/Martinique, America/Matamoros, America/Mazatlan, America/Mendoza, America/Menominee, America/Merida, America/Metlakatla, America/Mexico_City, America/Miquelon, America/Moncton, America/Monterrey, America/Montevideo, America/Montreal, America/Montserrat, America/Nassau, America/New_York, America/Nipigon, America/Nome, America/Noronha, America/North_Dakota/Beulah, America/North_Dakota/Center, America/North_Dakota/New_Salem, America/Nuuk, America/Ojinaga, America/Panama, America/Pangnirtung, America/Paramaribo, America/Phoenix, America/Port-au-Prince, America/Port_of_Spain, America/Porto_Acre, America/Porto_Velho, America/Puerto_Rico, America/Punta_Arenas, America/Rainy_River, America/Rankin_Inlet, America/Recife, America/Regina, America/Resolute, America/Rio_Branco, America/Rosario, America/Santa_Isabel, America/Santarem, America/Santiago, America/Santo_Domingo, America/Sao_Paulo, America/Scoresbysund, America/Shiprock, America/Sitka, America/St_Barthelemy, America/St_Johns, America/St_Kitts, America/St_Lucia, America/St_Thomas, America/St_Vincent, America/Swift_Current, America/Tegucigalpa, America/Thule, America/Thunder_Bay, America/Tijuana, America/Toronto, America/Tortola, America/Vancouver, America/Virgin, America/Whitehorse, America/Winnipeg, America/Yakutat, America/Yellowknife, Antarctica/Casey, Antarctica/Davis, Antarctica/DumontDUrville, Antarctica/Macquarie, Antarctica/Mawson, Antarctica/McMurdo, Antarctica/Palmer, Antarctica/Rothera, Antarctica/South_Pole, Antarctica/Syowa, Antarctica/Troll, Antarctica/Vostok, Arctic/Longyearbyen, Asia/Aden, Asia/Almaty, Asia/Amman, Asia/Anadyr, Asia/Aqtau, Asia/Aqtobe, Asia/Ashgabat, Asia/Ashkhabad, Asia/Atyrau, Asia/Baghdad, Asia/Bahrain, Asia/Baku, Asia/Bangkok, Asia/Barnaul, Asia/Beirut, Asia/Bishkek, Asia/Brunei, Asia/Calcutta, Asia/Chita, Asia/Choibalsan, Asia/Chongqing, Asia/Chungking, Asia/Colombo, Asia/Dacca, Asia/Damascus, Asia/Dhaka, Asia/Dili, Asia/Dubai, Asia/Dushanbe, Asia/Famagusta, Asia/Gaza, Asia/Harbin, Asia/Hebron, Asia/Ho_Chi_Minh, Asia/Hong_Kong, Asia/Hovd, Asia/Irkutsk, Asia/Istanbul, Asia/Jakarta, Asia/Jayapura, Asia/Jerusalem, Asia/Kabul, Asia/Kamchatka, Asia/Karachi, Asia/Kashgar, Asia/Kathmandu, Asia/Katmandu, Asia/Khandyga, Asia/Kolkata, Asia/Krasnoyarsk, Asia/Kuala_Lumpur, Asia/Kuching, Asia/Kuwait, Asia/Macao, Asia/Macau, Asia/Magadan, Asia/Makassar, Asia/Manila, Asia/Muscat, Asia/Nicosia, Asia/Novokuznetsk, Asia/Novosibirsk, Asia/Omsk, Asia/Oral, Asia/Phnom_Penh, Asia/Pontianak, Asia/Pyongyang, Asia/Qatar, Asia/Qostanay, Asia/Qyzylorda, Asia/Rangoon, Asia/Riyadh, Asia/Saigon, Asia/Sakhalin, Asia/Samarkand, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Srednekolymsk, Asia/Taipei, Asia/Tashkent, Asia/Tbilisi, Asia/Tehran, Asia/Tel_Aviv, Asia/Thimbu, Asia/Thimphu, Asia/Tokyo, Asia/Tomsk, Asia/Ujung_Pandang, Asia/Ulaanbaatar, Asia/Ulan_Bator, Asia/Urumqi, Asia/Ust-Nera, Asia/Vientiane, Asia/Vladivostok, Asia/Yakutsk, Asia/Yangon, Asia/Yekaterinburg, Asia/Yerevan, Atlantic/Azores, Atlantic/Bermuda, Atlantic/Canary, Atlantic/Cape_Verde, Atlantic/Faeroe, Atlantic/Faroe, Atlantic/Jan_Mayen, Atlantic/Madeira, Atlantic/Reykjavik, Atlantic/South_Georgia, Atlantic/St_Helena, Atlantic/Stanley, Australia/ACT, Australia/Adelaide, Australia/Brisbane, Australia/Broken_Hill, Australia/Canberra, Australia/Currie, Australia/Darwin, Australia/Eucla, Australia/Hobart, Australia/LHI, Australia/Lindeman, Australia/Lord_Howe, Australia/Melbourne, Australia/NSW, Australia/North, Australia/Perth, Australia/Queensland, Australia/South, Australia/Sydney, Australia/Tasmania, Australia/Victoria, Australia/West, Australia/Yancowinna, Brazil/Acre, Brazil/DeNoronha, Brazil/East, Brazil/West, CET, CST6CDT, Canada/Atlantic, Canada/Central, Canada/Eastern, Canada/Mountain, Canada/Newfoundland, Canada/Pacific, Canada/Saskatchewan, Canada/Yukon, Chile/Continental, Chile/EasterIsland, Cuba, EET, EST, EST5EDT, Egypt, Eire, Etc/GMT, Etc/GMT+0, Etc/GMT+1, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT-0, Etc/GMT-1, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/GMT0, Etc/Greenwich, Etc/UCT, Etc/UTC, Etc/Universal, Etc/Zulu, Europe/Amsterdam, Europe/Andorra, Europe/Astrakhan, Europe/Athens, Europe/Belfast, Europe/Belgrade, Europe/Berlin, Europe/Bratislava, Europe/Brussels, Europe/Bucharest, Europe/Budapest, Europe/Busingen, Europe/Chisinau, Europe/Copenhagen, Europe/Dublin, Europe/Gibraltar, Europe/Guernsey, Europe/Helsinki, Europe/Isle_of_Man, Europe/Istanbul, Europe/Jersey, Europe/Kaliningrad, Europe/Kiev, Europe/Kirov, Europe/Kyiv, Europe/Lisbon, Europe/Ljubljana, Europe/London, Europe/Luxembourg, Europe/Madrid, Europe/Malta, Europe/Mariehamn, Europe/Minsk, Europe/Monaco, Europe/Moscow, Europe/Nicosia, Europe/Oslo, Europe/Paris, Europe/Podgorica, Europe/Prague, Europe/Riga, Europe/Rome, Europe/Samara, Europe/San_Marino, Europe/Sarajevo, Europe/Saratov, Europe/Simferopol, Europe/Skopje, Europe/Sofia, Europe/Stockholm, Europe/Tallinn, Europe/Tirane, Europe/Tiraspol, Europe/Ulyanovsk, Europe/Uzhgorod, Europe/Vaduz, Europe/Vatican, Europe/Vienna, Europe/Vilnius, Europe/Volgograd, Europe/Warsaw, Europe/Zagreb, Europe/Zaporozhye, Europe/Zurich, GB, GB-Eire, GMT, GMT+0, GMT-0, GMT0, Greenwich, HST, Hongkong, Iceland, Indian/Antananarivo, Indian/Chagos, Indian/Christmas, Indian/Cocos, Indian/Comoro, Indian/Kerguelen, Indian/Mahe, Indian/Maldives, Indian/Mauritius, Indian/Mayotte, Indian/Reunion, Iran, Israel, Jamaica, Japan, Kwajalein, Libya, MET, MST, MST7MDT, Mexico/BajaNorte, Mexico/BajaSur, Mexico/General, NZ, NZ-CHAT, Navajo, PRC, PST8PDT, Pacific/Apia, Pacific/Auckland, Pacific/Bougainville, Pacific/Chatham, Pacific/Chuuk, Pacific/Easter, Pacific/Efate, Pacific/Enderbury, Pacific/Fakaofo, Pacific/Fiji, Pacific/Funafuti, Pacific/Galapagos, Pacific/Gambier, Pacific/Guadalcanal, Pacific/Guam, Pacific/Honolulu, Pacific/Johnston, Pacific/Kanton, Pacific/Kiritimati, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro, Pacific/Marquesas, Pacific/Midway, Pacific/Nauru, Pacific/Niue, Pacific/Norfolk, Pacific/Noumea, Pacific/Pago_Pago, Pacific/Palau, Pacific/Pitcairn, Pacific/Pohnpei, Pacific/Ponape, Pacific/Port_Moresby, Pacific/Rarotonga, Pacific/Saipan, Pacific/Samoa, Pacific/Tahiti, Pacific/Tarawa, Pacific/Tongatapu, Pacific/Truk, Pacific/Wake, Pacific/Wallis, Pacific/Yap, Poland, Portugal, ROC, ROK, Singapore, Turkey, UCT, US/Alaska, US/Aleutian, US/Arizona, US/Central, US/East-Indiana, US/Eastern, US/Hawaii, US/Indiana-Starke, US/Michigan, US/Mountain, US/Pacific, US/Samoa, UTC, Universal, W-SU, WET, Zulu // case insensitive Tz string `protobuf:"bytes,3,opt,name=tz,proto3" json:"tz,omitempty"` // contains filtered or unexported fields }
func (*TimeWindow) Descriptor
deprecated
added in
v0.3.27
func (*TimeWindow) Descriptor() ([]byte, []int)
Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.
func (*TimeWindow) GetDays ¶ added in v0.3.27
func (x *TimeWindow) GetDays() string
func (*TimeWindow) GetHours ¶ added in v0.3.27
func (x *TimeWindow) GetHours() string
func (*TimeWindow) GetTz ¶ added in v0.3.27
func (x *TimeWindow) GetTz() string
func (*TimeWindow) ProtoMessage ¶ added in v0.3.27
func (*TimeWindow) ProtoMessage()
func (*TimeWindow) ProtoReflect ¶ added in v0.3.27
func (x *TimeWindow) ProtoReflect() protoreflect.Message
func (*TimeWindow) Reset ¶ added in v0.3.27
func (x *TimeWindow) Reset()
func (*TimeWindow) String ¶ added in v0.3.27
func (x *TimeWindow) String() string
func (*TimeWindow) Validate ¶ added in v0.3.27
func (m *TimeWindow) Validate() error
Validate checks the field values on TimeWindow with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimeWindow) ValidateAll ¶ added in v0.3.27
func (m *TimeWindow) ValidateAll() error
ValidateAll checks the field values on TimeWindow with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeWindowMultiError, or nil if none found.
type TimeWindowMultiError ¶ added in v0.3.27
type TimeWindowMultiError []error
TimeWindowMultiError is an error wrapping multiple validation errors returned by TimeWindow.ValidateAll() if the designated constraints aren't met.
func (TimeWindowMultiError) AllErrors ¶ added in v0.3.27
func (m TimeWindowMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeWindowMultiError) Error ¶ added in v0.3.27
func (m TimeWindowMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeWindowValidationError ¶ added in v0.3.27
type TimeWindowValidationError struct {
// contains filtered or unexported fields
}
TimeWindowValidationError is the validation error returned by TimeWindow.Validate if the designated constraints aren't met.
func (TimeWindowValidationError) Cause ¶ added in v0.3.27
func (e TimeWindowValidationError) Cause() error
Cause function returns cause value.
func (TimeWindowValidationError) Error ¶ added in v0.3.27
func (e TimeWindowValidationError) Error() string
Error satisfies the builtin error interface
func (TimeWindowValidationError) ErrorName ¶ added in v0.3.27
func (e TimeWindowValidationError) ErrorName() string
ErrorName returns error name.
func (TimeWindowValidationError) Field ¶ added in v0.3.27
func (e TimeWindowValidationError) Field() string
Field function returns field value.
func (TimeWindowValidationError) Key ¶ added in v0.3.27
func (e TimeWindowValidationError) Key() bool
Key function returns key value.
func (TimeWindowValidationError) Reason ¶ added in v0.3.27
func (e TimeWindowValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProtectionManagerServer ¶
type UnimplementedProtectionManagerServer struct { }
UnimplementedProtectionManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedProtectionManagerServer) ConfigureProtection ¶
func (UnimplementedProtectionManagerServer) ConfigureProtection(context.Context, *ConfigureProtectionReq) (*ConfigureProtectionResp, error)
func (UnimplementedProtectionManagerServer) GetProtection ¶
func (UnimplementedProtectionManagerServer) GetProtection(context.Context, *GetProtectionReq) (*GetProtectionResp, error)
func (UnimplementedProtectionManagerServer) GetProtectionAttachmentConfig ¶ added in v0.2.0
func (UnimplementedProtectionManagerServer) GetProtectionAttachmentConfig(context.Context, *GetProtectionAttachmentConfigReq) (*GetProtectionAttachmentConfigResp, error)
func (UnimplementedProtectionManagerServer) GetProtectionConfig ¶
func (UnimplementedProtectionManagerServer) GetProtectionConfig(context.Context, *GetProtectionConfigReq) (*GetProtectionConfigResp, error)
func (UnimplementedProtectionManagerServer) ListProtections ¶
func (UnimplementedProtectionManagerServer) ListProtections(context.Context, *ListProtectionsReq) (*ListProtectionsResp, error)
func (UnimplementedProtectionManagerServer) ValidateConfigureProtection ¶
func (UnimplementedProtectionManagerServer) ValidateConfigureProtection(context.Context, *ConfigureProtectionReq) (*ValidateConfigureProtectionResp, error)
type UnsafeProtectionManagerServer ¶
type UnsafeProtectionManagerServer interface {
// contains filtered or unexported methods
}
UnsafeProtectionManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProtectionManagerServer will result in compilation errors.
type ValidateConfigureProtectionResp ¶
type ValidateConfigureProtectionResp struct { InputConfig *ProtectionConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` CompiledConfig *ProtectionConfig `protobuf:"bytes,2,opt,name=compiled_config,json=compiledConfig,proto3" json:"compiled_config,omitempty"` // contains filtered or unexported fields }
func (*ValidateConfigureProtectionResp) Descriptor
deprecated
func (*ValidateConfigureProtectionResp) Descriptor() ([]byte, []int)
Deprecated: Use ValidateConfigureProtectionResp.ProtoReflect.Descriptor instead.
func (*ValidateConfigureProtectionResp) GetCompiledConfig ¶ added in v0.2.13
func (x *ValidateConfigureProtectionResp) GetCompiledConfig() *ProtectionConfig
func (*ValidateConfigureProtectionResp) GetInputConfig ¶ added in v0.2.13
func (x *ValidateConfigureProtectionResp) GetInputConfig() *ProtectionConfig
func (*ValidateConfigureProtectionResp) ProtoMessage ¶
func (*ValidateConfigureProtectionResp) ProtoMessage()
func (*ValidateConfigureProtectionResp) ProtoReflect ¶
func (x *ValidateConfigureProtectionResp) ProtoReflect() protoreflect.Message
func (*ValidateConfigureProtectionResp) Reset ¶
func (x *ValidateConfigureProtectionResp) Reset()
func (*ValidateConfigureProtectionResp) String ¶
func (x *ValidateConfigureProtectionResp) String() string
func (*ValidateConfigureProtectionResp) Validate ¶
func (m *ValidateConfigureProtectionResp) Validate() error
Validate checks the field values on ValidateConfigureProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ValidateConfigureProtectionResp) ValidateAll ¶
func (m *ValidateConfigureProtectionResp) ValidateAll() error
ValidateAll checks the field values on ValidateConfigureProtectionResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateConfigureProtectionRespMultiError, or nil if none found.
type ValidateConfigureProtectionRespMultiError ¶
type ValidateConfigureProtectionRespMultiError []error
ValidateConfigureProtectionRespMultiError is an error wrapping multiple validation errors returned by ValidateConfigureProtectionResp.ValidateAll() if the designated constraints aren't met.
func (ValidateConfigureProtectionRespMultiError) AllErrors ¶
func (m ValidateConfigureProtectionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateConfigureProtectionRespMultiError) Error ¶
func (m ValidateConfigureProtectionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateConfigureProtectionRespValidationError ¶
type ValidateConfigureProtectionRespValidationError struct {
// contains filtered or unexported fields
}
ValidateConfigureProtectionRespValidationError is the validation error returned by ValidateConfigureProtectionResp.Validate if the designated constraints aren't met.
func (ValidateConfigureProtectionRespValidationError) Cause ¶
func (e ValidateConfigureProtectionRespValidationError) Cause() error
Cause function returns cause value.
func (ValidateConfigureProtectionRespValidationError) Error ¶
func (e ValidateConfigureProtectionRespValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateConfigureProtectionRespValidationError) ErrorName ¶
func (e ValidateConfigureProtectionRespValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateConfigureProtectionRespValidationError) Field ¶
func (e ValidateConfigureProtectionRespValidationError) Field() string
Field function returns field value.
func (ValidateConfigureProtectionRespValidationError) Key ¶
func (e ValidateConfigureProtectionRespValidationError) Key() bool
Key function returns key value.
func (ValidateConfigureProtectionRespValidationError) Reason ¶
func (e ValidateConfigureProtectionRespValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- attachments.pb.go
- attachments.pb.validate.go
- builtins.pb.go
- builtins.pb.validate.go
- object.pb.go
- object.pb.validate.go
- protection_config.pb.go
- protection_config.pb.validate.go
- protection_manager.pb.go
- protection_manager.pb.gw.go
- protection_manager.pb.validate.go
- protection_manager_grpc.pb.go
- protection_reference.pb.go
- protection_reference.pb.validate.go