protection

package
v0.3.42 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package protection is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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

View Source
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.

View Source
var (
	ProtectionFailureBehavior_name = map[int32]string{
		0: "UNKNOWN_PROTECTION_FAILURE_BEHAVIOR",
		1: "BLOCK",
		2: "FAIL",
	}
	ProtectionFailureBehavior_value = map[string]int32{
		"UNKNOWN_PROTECTION_FAILURE_BEHAVIOR": 0,
		"BLOCK":                               1,
		"FAIL":                                2,
	}
)

Enum value maps for ProtectionFailureBehavior.

View Source
var File_prodvana_protection_attachments_proto protoreflect.FileDescriptor
View Source
var File_prodvana_protection_builtins_proto protoreflect.FileDescriptor
View Source
var File_prodvana_protection_object_proto protoreflect.FileDescriptor
View Source
var File_prodvana_protection_protection_config_proto protoreflect.FileDescriptor
View Source
var File_prodvana_protection_protection_manager_proto protoreflect.FileDescriptor
View Source
var File_prodvana_protection_protection_reference_proto protoreflect.FileDescriptor
View Source
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 (*AllowedTimesProtectionConfig) Reset added in v0.3.27

func (x *AllowedTimesProtectionConfig) Reset()

func (*AllowedTimesProtectionConfig) String added in v0.3.27

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

AllErrors returns a list of validation violation errors.

func (AllowedTimesProtectionConfigMultiError) Error added in v0.3.27

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

Cause function returns cause value.

func (AllowedTimesProtectionConfigValidationError) Error added in v0.3.27

Error satisfies the builtin error interface

func (AllowedTimesProtectionConfigValidationError) ErrorName added in v0.3.27

ErrorName returns error name.

func (AllowedTimesProtectionConfigValidationError) Field added in v0.3.27

Field function returns field value.

func (AllowedTimesProtectionConfigValidationError) Key added in v0.3.27

Key function returns key value.

func (AllowedTimesProtectionConfigValidationError) Reason added in v0.3.27

Reason function returns reason value.

type AlwaysFailingProtectionConfig added in v0.3.41

type AlwaysFailingProtectionConfig struct {

	// This protection will always fail, mainly used for Prodvana's internal testing.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AlwaysFailingProtectionConfig) Descriptor deprecated added in v0.3.41

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

Deprecated: Use AlwaysFailingProtectionConfig.ProtoReflect.Descriptor instead.

func (*AlwaysFailingProtectionConfig) GetMessage added in v0.3.41

func (x *AlwaysFailingProtectionConfig) GetMessage() string

func (*AlwaysFailingProtectionConfig) ProtoMessage added in v0.3.41

func (*AlwaysFailingProtectionConfig) ProtoMessage()

func (*AlwaysFailingProtectionConfig) ProtoReflect added in v0.3.41

func (*AlwaysFailingProtectionConfig) Reset added in v0.3.41

func (x *AlwaysFailingProtectionConfig) Reset()

func (*AlwaysFailingProtectionConfig) String added in v0.3.41

func (*AlwaysFailingProtectionConfig) Validate added in v0.3.41

func (m *AlwaysFailingProtectionConfig) Validate() error

Validate checks the field values on AlwaysFailingProtectionConfig 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 (*AlwaysFailingProtectionConfig) ValidateAll added in v0.3.41

func (m *AlwaysFailingProtectionConfig) ValidateAll() error

ValidateAll checks the field values on AlwaysFailingProtectionConfig 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 AlwaysFailingProtectionConfigMultiError, or nil if none found.

type AlwaysFailingProtectionConfigMultiError added in v0.3.41

type AlwaysFailingProtectionConfigMultiError []error

AlwaysFailingProtectionConfigMultiError is an error wrapping multiple validation errors returned by AlwaysFailingProtectionConfig.ValidateAll() if the designated constraints aren't met.

func (AlwaysFailingProtectionConfigMultiError) AllErrors added in v0.3.41

AllErrors returns a list of validation violation errors.

func (AlwaysFailingProtectionConfigMultiError) Error added in v0.3.41

Error returns a concatenation of all the error messages it wraps.

type AlwaysFailingProtectionConfigValidationError added in v0.3.41

type AlwaysFailingProtectionConfigValidationError struct {
	// contains filtered or unexported fields
}

AlwaysFailingProtectionConfigValidationError is the validation error returned by AlwaysFailingProtectionConfig.Validate if the designated constraints aren't met.

func (AlwaysFailingProtectionConfigValidationError) Cause added in v0.3.41

Cause function returns cause value.

func (AlwaysFailingProtectionConfigValidationError) Error added in v0.3.41

Error satisfies the builtin error interface

func (AlwaysFailingProtectionConfigValidationError) ErrorName added in v0.3.41

ErrorName returns error name.

func (AlwaysFailingProtectionConfigValidationError) Field added in v0.3.41

Field function returns field value.

func (AlwaysFailingProtectionConfigValidationError) Key added in v0.3.41

Key function returns key value.

func (AlwaysFailingProtectionConfigValidationError) Reason added in v0.3.41

Reason function returns reason value.

type AlwaysPassingProtectionConfig added in v0.3.41

type AlwaysPassingProtectionConfig struct {
	// contains filtered or unexported fields
}

func (*AlwaysPassingProtectionConfig) Descriptor deprecated added in v0.3.41

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

Deprecated: Use AlwaysPassingProtectionConfig.ProtoReflect.Descriptor instead.

func (*AlwaysPassingProtectionConfig) ProtoMessage added in v0.3.41

func (*AlwaysPassingProtectionConfig) ProtoMessage()

func (*AlwaysPassingProtectionConfig) ProtoReflect added in v0.3.41

func (*AlwaysPassingProtectionConfig) Reset added in v0.3.41

func (x *AlwaysPassingProtectionConfig) Reset()

func (*AlwaysPassingProtectionConfig) String added in v0.3.41

func (*AlwaysPassingProtectionConfig) Validate added in v0.3.41

func (m *AlwaysPassingProtectionConfig) Validate() error

Validate checks the field values on AlwaysPassingProtectionConfig 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 (*AlwaysPassingProtectionConfig) ValidateAll added in v0.3.41

func (m *AlwaysPassingProtectionConfig) ValidateAll() error

ValidateAll checks the field values on AlwaysPassingProtectionConfig 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 AlwaysPassingProtectionConfigMultiError, or nil if none found.

type AlwaysPassingProtectionConfigMultiError added in v0.3.41

type AlwaysPassingProtectionConfigMultiError []error

AlwaysPassingProtectionConfigMultiError is an error wrapping multiple validation errors returned by AlwaysPassingProtectionConfig.ValidateAll() if the designated constraints aren't met.

func (AlwaysPassingProtectionConfigMultiError) AllErrors added in v0.3.41

AllErrors returns a list of validation violation errors.

func (AlwaysPassingProtectionConfigMultiError) Error added in v0.3.41

Error returns a concatenation of all the error messages it wraps.

type AlwaysPassingProtectionConfigValidationError added in v0.3.41

type AlwaysPassingProtectionConfigValidationError struct {
	// contains filtered or unexported fields
}

AlwaysPassingProtectionConfigValidationError is the validation error returned by AlwaysPassingProtectionConfig.Validate if the designated constraints aren't met.

func (AlwaysPassingProtectionConfigValidationError) Cause added in v0.3.41

Cause function returns cause value.

func (AlwaysPassingProtectionConfigValidationError) Error added in v0.3.41

Error satisfies the builtin error interface

func (AlwaysPassingProtectionConfigValidationError) ErrorName added in v0.3.41

ErrorName returns error name.

func (AlwaysPassingProtectionConfigValidationError) Field added in v0.3.41

Field function returns field value.

func (AlwaysPassingProtectionConfigValidationError) Key added in v0.3.41

Key function returns key value.

func (AlwaysPassingProtectionConfigValidationError) Reason added in v0.3.41

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) Enum

func (x AttachmentType) Enum() *AttachmentType

func (AttachmentType) EnumDescriptor deprecated

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

Deprecated: Use AttachmentType.Descriptor instead.

func (AttachmentType) Number

func (AttachmentType) String

func (x AttachmentType) String() string

func (AttachmentType) Type

type BuiltinProtectionConfig added in v0.3.15

type BuiltinProtectionConfig struct {

	// Types that are assignable to BuiltinOneof:
	//
	//	*BuiltinProtectionConfig_CommitDenylist
	//	*BuiltinProtectionConfig_AllowedTimes
	//	*BuiltinProtectionConfig_AlwaysPassing
	//	*BuiltinProtectionConfig_AlwaysFailing
	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 (*BuiltinProtectionConfig) GetAlwaysFailing added in v0.3.41

func (*BuiltinProtectionConfig) GetAlwaysPassing added in v0.3.41

func (*BuiltinProtectionConfig) GetBuiltinOneof added in v0.3.15

func (m *BuiltinProtectionConfig) GetBuiltinOneof() isBuiltinProtectionConfig_BuiltinOneof

func (*BuiltinProtectionConfig) GetCommitDenylist added in v0.3.15

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

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

Cause function returns cause value.

func (BuiltinProtectionConfigValidationError) Error added in v0.3.15

Error satisfies the builtin error interface

func (BuiltinProtectionConfigValidationError) ErrorName added in v0.3.15

ErrorName returns error name.

func (BuiltinProtectionConfigValidationError) Field added in v0.3.15

Field function returns field value.

func (BuiltinProtectionConfigValidationError) Key added in v0.3.15

Key function returns key value.

func (BuiltinProtectionConfigValidationError) Reason added in v0.3.15

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_AlwaysFailing added in v0.3.41

type BuiltinProtectionConfig_AlwaysFailing struct {
	AlwaysFailing *AlwaysFailingProtectionConfig `protobuf:"bytes,4,opt,name=always_failing,json=alwaysFailing,proto3,oneof"`
}

type BuiltinProtectionConfig_AlwaysPassing added in v0.3.41

type BuiltinProtectionConfig_AlwaysPassing struct {
	AlwaysPassing *AlwaysPassingProtectionConfig `protobuf:"bytes,3,opt,name=always_passing,json=alwaysPassing,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 (*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 (*CommitDenylistProtectionConfig) Reset added in v0.3.13

func (x *CommitDenylistProtectionConfig) Reset()

func (*CommitDenylistProtectionConfig) String added in v0.3.13

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

AllErrors returns a list of validation violation errors.

func (CommitDenylistProtectionConfigMultiError) Error added in v0.3.13

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

Cause function returns cause value.

func (CommitDenylistProtectionConfigValidationError) Error added in v0.3.13

Error satisfies the builtin error interface

func (CommitDenylistProtectionConfigValidationError) ErrorName added in v0.3.13

ErrorName returns error name.

func (CommitDenylistProtectionConfigValidationError) Field added in v0.3.13

Field function returns field value.

func (CommitDenylistProtectionConfigValidationError) Key added in v0.3.13

Key function returns key value.

func (CommitDenylistProtectionConfigValidationError) Reason added in v0.3.13

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

Deprecated: Use CommitDenylistProtectionConfig_CommitDefinition.ProtoReflect.Descriptor instead.

func (*CommitDenylistProtectionConfig_CommitDefinition) GetCommit added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) GetCommitOneof added in v0.3.13

func (m *CommitDenylistProtectionConfig_CommitDefinition) GetCommitOneof() isCommitDenylistProtectionConfig_CommitDefinition_CommitOneof

func (*CommitDenylistProtectionConfig_CommitDefinition) GetRange added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoMessage added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) ProtoReflect added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) Reset added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) String added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition) Validate added in v0.3.13

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

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

AllErrors returns a list of validation violation errors.

func (CommitDenylistProtectionConfig_CommitDefinitionMultiError) Error added in v0.3.13

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

Cause function returns cause value.

func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Error added in v0.3.13

Error satisfies the builtin error interface

func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) ErrorName added in v0.3.13

ErrorName returns error name.

func (CommitDenylistProtectionConfig_CommitDefinitionValidationError) Field added in v0.3.13

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

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

Deprecated: Use CommitDenylistProtectionConfig_CommitDefinition_Range.ProtoReflect.Descriptor instead.

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) GetEndCommit added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) GetStartCommit added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoMessage added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) ProtoReflect added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Reset added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) String added in v0.3.13

func (*CommitDenylistProtectionConfig_CommitDefinition_Range) Validate added in v0.3.13

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

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

AllErrors returns a list of validation violation errors.

func (CommitDenylistProtectionConfig_CommitDefinition_RangeMultiError) Error added in v0.3.13

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

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

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"`
	// will only be set if the protection needs to be executed on a runtime
	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 (*CompiledProtectionAttachmentConfig) GetConfig

func (*CompiledProtectionAttachmentConfig) GetEnv

func (*CompiledProtectionAttachmentConfig) GetParameterValues

func (*CompiledProtectionAttachmentConfig) GetRuntimeExecution

func (*CompiledProtectionAttachmentConfig) ProtoMessage

func (*CompiledProtectionAttachmentConfig) ProtoMessage()

func (*CompiledProtectionAttachmentConfig) ProtoReflect

func (*CompiledProtectionAttachmentConfig) Reset

func (*CompiledProtectionAttachmentConfig) String

func (*CompiledProtectionAttachmentConfig) Validate

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

AllErrors returns a list of validation violation errors.

func (CompiledProtectionAttachmentConfigMultiError) Error

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

Cause function returns cause value.

func (CompiledProtectionAttachmentConfigValidationError) Error

Error satisfies the builtin error interface

func (CompiledProtectionAttachmentConfigValidationError) ErrorName

ErrorName returns error name.

func (CompiledProtectionAttachmentConfigValidationError) Field

Field function returns field value.

func (CompiledProtectionAttachmentConfigValidationError) Key

Key function returns key value.

func (CompiledProtectionAttachmentConfigValidationError) Reason

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

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

Cause function returns cause value.

func (ConfigureProtectionReqValidationError) Error

Error satisfies the builtin error interface

func (ConfigureProtectionReqValidationError) ErrorName

ErrorName returns error name.

func (ConfigureProtectionReqValidationError) Field

Field function returns field value.

func (ConfigureProtectionReqValidationError) Key

Key function returns key value.

func (ConfigureProtectionReqValidationError) Reason

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

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

Cause function returns cause value.

func (ConfigureProtectionRespValidationError) Error

Error satisfies the builtin error interface

func (ConfigureProtectionRespValidationError) ErrorName

ErrorName returns error name.

func (ConfigureProtectionRespValidationError) Field

Field function returns field value.

func (ConfigureProtectionRespValidationError) Key

Key function returns key value.

func (ConfigureProtectionRespValidationError) Reason

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

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

Cause function returns cause value.

func (ConvergenceAttachmentValidationError) Error added in v0.3.3

Error satisfies the builtin error interface

func (ConvergenceAttachmentValidationError) ErrorName added in v0.3.3

ErrorName returns error name.

func (ConvergenceAttachmentValidationError) Field added in v0.3.3

Field function returns field value.

func (ConvergenceAttachmentValidationError) Key added in v0.3.3

Key function returns key value.

func (ConvergenceAttachmentValidationError) Reason added in v0.3.3

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 (*GetProtectionAttachmentConfigReq) Reset added in v0.2.0

func (*GetProtectionAttachmentConfigReq) String added in v0.2.0

func (*GetProtectionAttachmentConfigReq) Validate added in v0.2.0

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

AllErrors returns a list of validation violation errors.

func (GetProtectionAttachmentConfigReqMultiError) Error added in v0.2.0

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

Cause function returns cause value.

func (GetProtectionAttachmentConfigReqValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (GetProtectionAttachmentConfigReqValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (GetProtectionAttachmentConfigReqValidationError) Field added in v0.2.0

Field function returns field value.

func (GetProtectionAttachmentConfigReqValidationError) Key added in v0.2.0

Key function returns key value.

func (GetProtectionAttachmentConfigReqValidationError) Reason added in v0.2.0

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 (*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 (*GetProtectionAttachmentConfigResp) Reset added in v0.2.0

func (*GetProtectionAttachmentConfigResp) String added in v0.2.0

func (*GetProtectionAttachmentConfigResp) Validate added in v0.2.0

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

AllErrors returns a list of validation violation errors.

func (GetProtectionAttachmentConfigRespMultiError) Error added in v0.2.0

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

Cause function returns cause value.

func (GetProtectionAttachmentConfigRespValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (GetProtectionAttachmentConfigRespValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (GetProtectionAttachmentConfigRespValidationError) Field added in v0.2.0

Field function returns field value.

func (GetProtectionAttachmentConfigRespValidationError) Key added in v0.2.0

Key function returns key value.

func (GetProtectionAttachmentConfigRespValidationError) Reason added in v0.2.0

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

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

Cause function returns cause value.

func (GetProtectionConfigReqValidationError) Error

Error satisfies the builtin error interface

func (GetProtectionConfigReqValidationError) ErrorName

ErrorName returns error name.

func (GetProtectionConfigReqValidationError) Field

Field function returns field value.

func (GetProtectionConfigReqValidationError) Key

Key function returns key value.

func (GetProtectionConfigReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetProtectionConfigRespValidationError) Error

Error satisfies the builtin error interface

func (GetProtectionConfigRespValidationError) ErrorName

ErrorName returns error name.

func (GetProtectionConfigRespValidationError) Field

Field function returns field value.

func (GetProtectionConfigRespValidationError) Key

Key function returns key value.

func (GetProtectionConfigRespValidationError) Reason

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

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

Cause function returns cause value.

func (GetProtectionReqValidationError) Error

Error satisfies the builtin error interface

func (GetProtectionReqValidationError) ErrorName

ErrorName returns error name.

func (GetProtectionReqValidationError) Field

Field function returns field value.

func (GetProtectionReqValidationError) Key

Key function returns key value.

func (GetProtectionReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetProtectionRespValidationError) Error

Error satisfies the builtin error interface

func (GetProtectionRespValidationError) ErrorName

ErrorName returns error name.

func (GetProtectionRespValidationError) Field

Field function returns field value.

func (GetProtectionRespValidationError) Key

Key function returns key value.

func (GetProtectionRespValidationError) Reason

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

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

Cause function returns cause value.

func (ListProtectionsReqValidationError) Error

Error satisfies the builtin error interface

func (ListProtectionsReqValidationError) ErrorName

ErrorName returns error name.

func (ListProtectionsReqValidationError) Field

Field function returns field value.

func (ListProtectionsReqValidationError) Key

Key function returns key value.

func (ListProtectionsReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListProtectionsRespValidationError) Error

Error satisfies the builtin error interface

func (ListProtectionsRespValidationError) ErrorName

ErrorName returns error name.

func (ListProtectionsRespValidationError) Field

Field function returns field value.

func (ListProtectionsRespValidationError) Key

Key function returns key value.

func (ListProtectionsRespValidationError) Reason

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 (*ProtectionAttachmentConfig) ProtoMessage added in v0.2.0

func (*ProtectionAttachmentConfig) ProtoMessage()

func (*ProtectionAttachmentConfig) ProtoReflect added in v0.2.0

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

AllErrors returns a list of validation violation errors.

func (ProtectionAttachmentConfigMultiError) Error added in v0.2.0

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

Cause function returns cause value.

func (ProtectionAttachmentConfigValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (ProtectionAttachmentConfigValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (ProtectionAttachmentConfigValidationError) Field added in v0.2.0

Field function returns field value.

func (ProtectionAttachmentConfigValidationError) Key added in v0.2.0

Key function returns key value.

func (ProtectionAttachmentConfigValidationError) Reason added in v0.2.0

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

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

Cause function returns cause value.

func (ProtectionAttachmentValidationError) Error

Error satisfies the builtin error interface

func (ProtectionAttachmentValidationError) ErrorName

ErrorName returns error name.

func (ProtectionAttachmentValidationError) Field

Field function returns field value.

func (ProtectionAttachmentValidationError) Key

Key function returns key value.

func (ProtectionAttachmentValidationError) Reason

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

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

Cause function returns cause value.

func (ProtectionConfigValidationError) Error

Error satisfies the builtin error interface

func (ProtectionConfigValidationError) ErrorName

ErrorName returns error name.

func (ProtectionConfigValidationError) Field

Field function returns field value.

func (ProtectionConfigValidationError) Key

Key function returns key value.

func (ProtectionConfigValidationError) Reason

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 ProtectionFailureBehavior added in v0.3.41

type ProtectionFailureBehavior int32
const (
	ProtectionFailureBehavior_UNKNOWN_PROTECTION_FAILURE_BEHAVIOR ProtectionFailureBehavior = 0
	// Only check this protection *before* a deployment.
	// This shouldn't be used to trigger a failure or rollback during Deployment.
	ProtectionFailureBehavior_BLOCK ProtectionFailureBehavior = 1
	// If protection is failed, mark the protected instance failed and, if required, trigger a rollback.
	ProtectionFailureBehavior_FAIL ProtectionFailureBehavior = 2
)

func (ProtectionFailureBehavior) Descriptor added in v0.3.41

func (ProtectionFailureBehavior) Enum added in v0.3.41

func (ProtectionFailureBehavior) EnumDescriptor deprecated added in v0.3.41

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

Deprecated: Use ProtectionFailureBehavior.Descriptor instead.

func (ProtectionFailureBehavior) Number added in v0.3.41

func (ProtectionFailureBehavior) String added in v0.3.41

func (x ProtectionFailureBehavior) String() string

func (ProtectionFailureBehavior) Type added in v0.3.41

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 (*ProtectionLifecycle) GetLifecycle

func (m *ProtectionLifecycle) GetLifecycle() isProtectionLifecycle_Lifecycle

func (*ProtectionLifecycle) GetPostApproval

func (*ProtectionLifecycle) GetPostDeployment

func (*ProtectionLifecycle) GetPreApproval

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

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

Cause function returns cause value.

func (ProtectionLifecycleValidationError) Error

Error satisfies the builtin error interface

func (ProtectionLifecycleValidationError) ErrorName

ErrorName returns error name.

func (ProtectionLifecycleValidationError) Field

Field function returns field value.

func (ProtectionLifecycleValidationError) Key

Key function returns key value.

func (ProtectionLifecycleValidationError) Reason

Reason function returns reason value.

type ProtectionLifecycle_Deployment

type ProtectionLifecycle_Deployment struct {
	FailureBehavior ProtectionFailureBehavior `` /* 158-byte string literal not displayed */
	// 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) GetFailureBehavior added in v0.3.41

func (*ProtectionLifecycle_Deployment) ProtoMessage

func (*ProtectionLifecycle_Deployment) ProtoMessage()

func (*ProtectionLifecycle_Deployment) ProtoReflect

func (*ProtectionLifecycle_Deployment) Reset

func (x *ProtectionLifecycle_Deployment) Reset()

func (*ProtectionLifecycle_Deployment) 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

AllErrors returns a list of validation violation errors.

func (ProtectionLifecycle_DeploymentMultiError) Error

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

Cause function returns cause value.

func (ProtectionLifecycle_DeploymentValidationError) Error

Error satisfies the builtin error interface

func (ProtectionLifecycle_DeploymentValidationError) ErrorName

ErrorName returns error name.

func (ProtectionLifecycle_DeploymentValidationError) Field

Field function returns field value.

func (ProtectionLifecycle_DeploymentValidationError) Key

Key function returns key value.

func (ProtectionLifecycle_DeploymentValidationError) Reason

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 (*ProtectionLifecycle_PostApproval) Reset

func (*ProtectionLifecycle_PostApproval) String

func (*ProtectionLifecycle_PostApproval) Validate

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

AllErrors returns a list of validation violation errors.

func (ProtectionLifecycle_PostApprovalMultiError) Error

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

Cause function returns cause value.

func (ProtectionLifecycle_PostApprovalValidationError) Error

Error satisfies the builtin error interface

func (ProtectionLifecycle_PostApprovalValidationError) ErrorName

ErrorName returns error name.

func (ProtectionLifecycle_PostApprovalValidationError) Field

Field function returns field value.

func (ProtectionLifecycle_PostApprovalValidationError) Key

Key function returns key value.

func (ProtectionLifecycle_PostApprovalValidationError) Reason

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 (*ProtectionLifecycle_PostDeployment) GetDelayCheckDuration

func (x *ProtectionLifecycle_PostDeployment) GetDelayCheckDuration() *durationpb.Duration

func (*ProtectionLifecycle_PostDeployment) ProtoMessage

func (*ProtectionLifecycle_PostDeployment) ProtoMessage()

func (*ProtectionLifecycle_PostDeployment) ProtoReflect

func (*ProtectionLifecycle_PostDeployment) Reset

func (*ProtectionLifecycle_PostDeployment) String

func (*ProtectionLifecycle_PostDeployment) Validate

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

AllErrors returns a list of validation violation errors.

func (ProtectionLifecycle_PostDeploymentMultiError) Error

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

Cause function returns cause value.

func (ProtectionLifecycle_PostDeploymentValidationError) Error

Error satisfies the builtin error interface

func (ProtectionLifecycle_PostDeploymentValidationError) ErrorName

ErrorName returns error name.

func (ProtectionLifecycle_PostDeploymentValidationError) Field

Field function returns field value.

func (ProtectionLifecycle_PostDeploymentValidationError) Key

Key function returns key value.

func (ProtectionLifecycle_PostDeploymentValidationError) Reason

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 (*ProtectionLifecycle_PreApproval) Reset

func (*ProtectionLifecycle_PreApproval) 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

AllErrors returns a list of validation violation errors.

func (ProtectionLifecycle_PreApprovalMultiError) Error

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

Cause function returns cause value.

func (ProtectionLifecycle_PreApprovalValidationError) Error

Error satisfies the builtin error interface

func (ProtectionLifecycle_PreApprovalValidationError) ErrorName

ErrorName returns error name.

func (ProtectionLifecycle_PreApprovalValidationError) Field

Field function returns field value.

func (ProtectionLifecycle_PreApprovalValidationError) Key

Key function returns key value.

func (ProtectionLifecycle_PreApprovalValidationError) Reason

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.

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

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

Cause function returns cause value.

func (ProtectionReferenceValidationError) Error

Error satisfies the builtin error interface

func (ProtectionReferenceValidationError) ErrorName

ErrorName returns error name.

func (ProtectionReferenceValidationError) Field

Field function returns field value.

func (ProtectionReferenceValidationError) Key

Key function returns key value.

func (ProtectionReferenceValidationError) Reason

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

Error satisfies the builtin error interface

func (ProtectionValidationError) ErrorName

func (e ProtectionValidationError) ErrorName() string

ErrorName returns error name.

func (ProtectionValidationError) Field

Field function returns field value.

func (ProtectionValidationError) Key

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

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

Cause function returns cause value.

func (ReleaseChannelAttachmentValidationError) Error

Error satisfies the builtin error interface

func (ReleaseChannelAttachmentValidationError) ErrorName

ErrorName returns error name.

func (ReleaseChannelAttachmentValidationError) Field

Field function returns field value.

func (ReleaseChannelAttachmentValidationError) Key

Key function returns key value.

func (ReleaseChannelAttachmentValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ServiceInstanceAttachmentMultiError) Error

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

Cause function returns cause value.

func (ServiceInstanceAttachmentValidationError) Error

Error satisfies the builtin error interface

func (ServiceInstanceAttachmentValidationError) ErrorName

ErrorName returns error name.

func (ServiceInstanceAttachmentValidationError) Field

Field function returns field value.

func (ServiceInstanceAttachmentValidationError) Key

Key function returns key value.

func (ServiceInstanceAttachmentValidationError) Reason

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

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

Field function returns field value.

func (TimeWindowValidationError) Key added in v0.3.27

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) GetProtection

func (UnimplementedProtectionManagerServer) GetProtectionAttachmentConfig added in v0.2.0

func (UnimplementedProtectionManagerServer) GetProtectionConfig

func (UnimplementedProtectionManagerServer) ListProtections

func (UnimplementedProtectionManagerServer) ValidateConfigureProtection

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 (*ValidateConfigureProtectionResp) ProtoMessage

func (*ValidateConfigureProtectionResp) ProtoMessage()

func (*ValidateConfigureProtectionResp) ProtoReflect

func (*ValidateConfigureProtectionResp) Reset

func (*ValidateConfigureProtectionResp) 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

AllErrors returns a list of validation violation errors.

func (ValidateConfigureProtectionRespMultiError) Error

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

Cause function returns cause value.

func (ValidateConfigureProtectionRespValidationError) Error

Error satisfies the builtin error interface

func (ValidateConfigureProtectionRespValidationError) ErrorName

ErrorName returns error name.

func (ValidateConfigureProtectionRespValidationError) Field

Field function returns field value.

func (ValidateConfigureProtectionRespValidationError) Key

Key function returns key value.

func (ValidateConfigureProtectionRespValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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