changecontrol

package
v0.0.0-...-1768917 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StageStatus_name = map[int32]string{
		0: "STAGE_STATUS_UNSPECIFIED",
		1: "STAGE_STATUS_RUNNING",
		2: "STAGE_STATUS_COMPLETED",
		3: "STAGE_STATUS_NOT_STARTED",
	}
	StageStatus_value = map[string]int32{
		"STAGE_STATUS_UNSPECIFIED": 0,
		"STAGE_STATUS_RUNNING":     1,
		"STAGE_STATUS_COMPLETED":   2,
		"STAGE_STATUS_NOT_STARTED": 3,
	}
)

Enum value maps for StageStatus.

View Source
var (
	ChangeControlStatus_name = map[int32]string{
		0: "CHANGE_CONTROL_STATUS_UNSPECIFIED",
		1: "CHANGE_CONTROL_STATUS_RUNNING",
		2: "CHANGE_CONTROL_STATUS_COMPLETED",
		3: "CHANGE_CONTROL_STATUS_SCHEDULED",
		4: "CHANGE_CONTROL_STATUS_NOT_STARTED",
	}
	ChangeControlStatus_value = map[string]int32{
		"CHANGE_CONTROL_STATUS_UNSPECIFIED": 0,
		"CHANGE_CONTROL_STATUS_RUNNING":     1,
		"CHANGE_CONTROL_STATUS_COMPLETED":   2,
		"CHANGE_CONTROL_STATUS_SCHEDULED":   3,
		"CHANGE_CONTROL_STATUS_NOT_STARTED": 4,
	}
)

Enum value maps for ChangeControlStatus.

View Source
var ApproveConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.changecontrol.v1.ApproveConfigService",
	HandlerType: (*ApproveConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _ApproveConfigService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _ApproveConfigService_GetMeta_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _ApproveConfigService_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ApproveConfigService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _ApproveConfigService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _ApproveConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _ApproveConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _ApproveConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SetSome",
			Handler:       _ApproveConfigService_SetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteSome",
			Handler:       _ApproveConfigService_DeleteSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteAll",
			Handler:       _ApproveConfigService_DeleteAll_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/changecontrol.v1/services.gen.proto",
}

ApproveConfigService_ServiceDesc is the grpc.ServiceDesc for ApproveConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChangeControlConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.changecontrol.v1.ChangeControlConfigService",
	HandlerType: (*ChangeControlConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _ChangeControlConfigService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _ChangeControlConfigService_GetMeta_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _ChangeControlConfigService_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ChangeControlConfigService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _ChangeControlConfigService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _ChangeControlConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _ChangeControlConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _ChangeControlConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SetSome",
			Handler:       _ChangeControlConfigService_SetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteSome",
			Handler:       _ChangeControlConfigService_DeleteSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteAll",
			Handler:       _ChangeControlConfigService_DeleteAll_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/changecontrol.v1/services.gen.proto",
}

ChangeControlConfigService_ServiceDesc is the grpc.ServiceDesc for ChangeControlConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChangeControlService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.changecontrol.v1.ChangeControlService",
	HandlerType: (*ChangeControlServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _ChangeControlService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _ChangeControlService_GetMeta_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _ChangeControlService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _ChangeControlService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _ChangeControlService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _ChangeControlService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/changecontrol.v1/services.gen.proto",
}

ChangeControlService_ServiceDesc is the grpc.ServiceDesc for ChangeControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_arista_changecontrol_v1_changecontrol_proto protoreflect.FileDescriptor
View Source
var File_arista_changecontrol_v1_services_gen_proto protoreflect.FileDescriptor

Functions

func RegisterApproveConfigServiceServer

func RegisterApproveConfigServiceServer(s grpc.ServiceRegistrar, srv ApproveConfigServiceServer)

func RegisterChangeControlConfigServiceServer

func RegisterChangeControlConfigServiceServer(s grpc.ServiceRegistrar, srv ChangeControlConfigServiceServer)

func RegisterChangeControlServiceServer

func RegisterChangeControlServiceServer(s grpc.ServiceRegistrar, srv ChangeControlServiceServer)

Types

type Action

type Action struct {

	// name is the name of the action.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// timeout is the maximum duration in seconds that
	// the action can execute before timing out. If this
	// is not set, then this is interpreted to mean there
	// is no timeout.
	Timeout *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// args are the arguments of the action.
	Args *fmp.MapStringString `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

Action is an action to perform during the execution of a stage of a change control. Available actions can be fetched using the "action" services.

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetArgs

func (x *Action) GetArgs() *fmp.MapStringString

func (*Action) GetName

func (x *Action) GetName() *wrapperspb.StringValue

func (*Action) GetTimeout

func (x *Action) GetTimeout() *wrapperspb.UInt32Value

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type ApproveConfig

type ApproveConfig struct {

	// key uniquely identifies the change control.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// approve is the flag to approve (`approve.value` set to `true`)
	// or unapprove (`approve.value` set to `false`) the change control.
	Approve *FlagConfig `protobuf:"bytes,2,opt,name=approve,proto3" json:"approve,omitempty"`
	// version is the timestamp of the change control to approve.
	// This field must be set when `approve.value` is set to `true`
	// and is intended to safeguard against approving a change control
	// that has been updated since last read.
	Version *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

ApproveConfig is used to configure the approval of a change control.

func (*ApproveConfig) Descriptor deprecated

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

Deprecated: Use ApproveConfig.ProtoReflect.Descriptor instead.

func (*ApproveConfig) GetApprove

func (x *ApproveConfig) GetApprove() *FlagConfig

func (*ApproveConfig) GetKey

func (x *ApproveConfig) GetKey() *ChangeControlKey

func (*ApproveConfig) GetVersion

func (x *ApproveConfig) GetVersion() *timestamppb.Timestamp

func (*ApproveConfig) ProtoMessage

func (*ApproveConfig) ProtoMessage()

func (*ApproveConfig) ProtoReflect

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

func (*ApproveConfig) Reset

func (x *ApproveConfig) Reset()

func (*ApproveConfig) String

func (x *ApproveConfig) String() string

type ApproveConfigDeleteAllRequest

type ApproveConfigDeleteAllRequest struct {

	// PartialEqFilter provides a way to server-side filter a DeleteAll.
	// This requires all provided fields to be equal to the response.
	// A filtered DeleteAll will use GetAll with filter to find things to delete.
	PartialEqFilter []*ApproveConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteAllRequest) GetPartialEqFilter

func (x *ApproveConfigDeleteAllRequest) GetPartialEqFilter() []*ApproveConfig

func (*ApproveConfigDeleteAllRequest) ProtoMessage

func (*ApproveConfigDeleteAllRequest) ProtoMessage()

func (*ApproveConfigDeleteAllRequest) ProtoReflect

func (*ApproveConfigDeleteAllRequest) Reset

func (x *ApproveConfigDeleteAllRequest) Reset()

func (*ApproveConfigDeleteAllRequest) String

type ApproveConfigDeleteAllResponse

type ApproveConfigDeleteAllResponse struct {

	// This describes the class of delete error.
	// A DeleteAllResponse is only sent when there is an error.
	Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"`
	// This indicates the error message from the delete failure.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// This is the key of the ApproveConfig instance that failed to be deleted.
	Key *ChangeControlKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp when the key was being deleted.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteAllResponse) GetError

func (*ApproveConfigDeleteAllResponse) GetKey

func (*ApproveConfigDeleteAllResponse) GetTime

func (*ApproveConfigDeleteAllResponse) GetType

func (*ApproveConfigDeleteAllResponse) ProtoMessage

func (*ApproveConfigDeleteAllResponse) ProtoMessage()

func (*ApproveConfigDeleteAllResponse) ProtoReflect

func (*ApproveConfigDeleteAllResponse) Reset

func (x *ApproveConfigDeleteAllResponse) Reset()

func (*ApproveConfigDeleteAllResponse) String

type ApproveConfigDeleteRequest

type ApproveConfigDeleteRequest struct {

	// Key indicates which ApproveConfig instance to remove.
	// This field must always be set.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigDeleteRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteRequest) GetKey

func (*ApproveConfigDeleteRequest) ProtoMessage

func (*ApproveConfigDeleteRequest) ProtoMessage()

func (*ApproveConfigDeleteRequest) ProtoReflect

func (*ApproveConfigDeleteRequest) Reset

func (x *ApproveConfigDeleteRequest) Reset()

func (*ApproveConfigDeleteRequest) String

func (x *ApproveConfigDeleteRequest) String() string

type ApproveConfigDeleteResponse

type ApproveConfigDeleteResponse struct {

	// Key echoes back the key of the deleted ApproveConfig instance.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// deletion. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==DeletedAt will not include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigDeleteResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteResponse) GetKey

func (*ApproveConfigDeleteResponse) GetTime

func (*ApproveConfigDeleteResponse) ProtoMessage

func (*ApproveConfigDeleteResponse) ProtoMessage()

func (*ApproveConfigDeleteResponse) ProtoReflect

func (*ApproveConfigDeleteResponse) Reset

func (x *ApproveConfigDeleteResponse) Reset()

func (*ApproveConfigDeleteResponse) String

func (x *ApproveConfigDeleteResponse) String() string

type ApproveConfigDeleteSomeRequest

type ApproveConfigDeleteSomeRequest struct {

	// key contains a list of ApproveConfig keys to delete
	Keys []*ChangeControlKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigDeleteSomeRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteSomeRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteSomeRequest) GetKeys

func (*ApproveConfigDeleteSomeRequest) ProtoMessage

func (*ApproveConfigDeleteSomeRequest) ProtoMessage()

func (*ApproveConfigDeleteSomeRequest) ProtoReflect

func (*ApproveConfigDeleteSomeRequest) Reset

func (x *ApproveConfigDeleteSomeRequest) Reset()

func (*ApproveConfigDeleteSomeRequest) String

type ApproveConfigDeleteSomeResponse

type ApproveConfigDeleteSomeResponse struct {
	Key   *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string            `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ApproveConfigDeleteSomeResponse is only sent when there is an error.

func (*ApproveConfigDeleteSomeResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigDeleteSomeResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigDeleteSomeResponse) GetError

func (*ApproveConfigDeleteSomeResponse) GetKey

func (*ApproveConfigDeleteSomeResponse) ProtoMessage

func (*ApproveConfigDeleteSomeResponse) ProtoMessage()

func (*ApproveConfigDeleteSomeResponse) ProtoReflect

func (*ApproveConfigDeleteSomeResponse) Reset

func (*ApproveConfigDeleteSomeResponse) String

type ApproveConfigRequest

type ApproveConfigRequest struct {

	// Key uniquely identifies a ApproveConfig instance to retrieve.
	// This value must be populated.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigRequest) GetKey

func (*ApproveConfigRequest) GetTime

func (*ApproveConfigRequest) ProtoMessage

func (*ApproveConfigRequest) ProtoMessage()

func (*ApproveConfigRequest) ProtoReflect

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

func (*ApproveConfigRequest) Reset

func (x *ApproveConfigRequest) Reset()

func (*ApproveConfigRequest) String

func (x *ApproveConfigRequest) String() string

type ApproveConfigResponse

type ApproveConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ApproveConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// ApproveConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigResponse) GetTime

func (*ApproveConfigResponse) GetValue

func (x *ApproveConfigResponse) GetValue() *ApproveConfig

func (*ApproveConfigResponse) ProtoMessage

func (*ApproveConfigResponse) ProtoMessage()

func (*ApproveConfigResponse) ProtoReflect

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

func (*ApproveConfigResponse) Reset

func (x *ApproveConfigResponse) Reset()

func (*ApproveConfigResponse) String

func (x *ApproveConfigResponse) String() string

type ApproveConfigServiceClient

ApproveConfigServiceClient is the client API for ApproveConfigService 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 ApproveConfigService_DeleteAllClient

type ApproveConfigService_DeleteAllClient interface {
	Recv() (*ApproveConfigDeleteAllResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_DeleteAllServer

type ApproveConfigService_DeleteAllServer interface {
	Send(*ApproveConfigDeleteAllResponse) error
	grpc.ServerStream
}

type ApproveConfigService_DeleteSomeClient

type ApproveConfigService_DeleteSomeClient interface {
	Recv() (*ApproveConfigDeleteSomeResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_DeleteSomeServer

type ApproveConfigService_DeleteSomeServer interface {
	Send(*ApproveConfigDeleteSomeResponse) error
	grpc.ServerStream
}

type ApproveConfigService_GetAllClient

type ApproveConfigService_GetAllClient interface {
	Recv() (*ApproveConfigStreamResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_GetAllServer

type ApproveConfigService_GetAllServer interface {
	Send(*ApproveConfigStreamResponse) error
	grpc.ServerStream
}

type ApproveConfigService_GetSomeClient

type ApproveConfigService_GetSomeClient interface {
	Recv() (*ApproveConfigSomeResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_GetSomeServer

type ApproveConfigService_GetSomeServer interface {
	Send(*ApproveConfigSomeResponse) error
	grpc.ServerStream
}

type ApproveConfigService_SetSomeClient

type ApproveConfigService_SetSomeClient interface {
	Recv() (*ApproveConfigSetSomeResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_SetSomeServer

type ApproveConfigService_SetSomeServer interface {
	Send(*ApproveConfigSetSomeResponse) error
	grpc.ServerStream
}

type ApproveConfigService_SubscribeClient

type ApproveConfigService_SubscribeClient interface {
	Recv() (*ApproveConfigStreamResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_SubscribeMetaClient

type ApproveConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type ApproveConfigService_SubscribeMetaServer

type ApproveConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type ApproveConfigService_SubscribeServer

type ApproveConfigService_SubscribeServer interface {
	Send(*ApproveConfigStreamResponse) error
	grpc.ServerStream
}

type ApproveConfigSetRequest

type ApproveConfigSetRequest struct {

	// ApproveConfig carries the value to set into the datastore.
	// See the documentation on the ApproveConfig struct for which fields are required.
	Value *ApproveConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSetRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigSetRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigSetRequest) GetValue

func (x *ApproveConfigSetRequest) GetValue() *ApproveConfig

func (*ApproveConfigSetRequest) ProtoMessage

func (*ApproveConfigSetRequest) ProtoMessage()

func (*ApproveConfigSetRequest) ProtoReflect

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

func (*ApproveConfigSetRequest) Reset

func (x *ApproveConfigSetRequest) Reset()

func (*ApproveConfigSetRequest) String

func (x *ApproveConfigSetRequest) String() string

type ApproveConfigSetResponse

type ApproveConfigSetResponse struct {

	// Value carries all the values given in the ApproveConfigSetRequest as well
	// as any server-generated values.
	Value *ApproveConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==CreatedAt will include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSetResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigSetResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigSetResponse) GetTime

func (*ApproveConfigSetResponse) GetValue

func (x *ApproveConfigSetResponse) GetValue() *ApproveConfig

func (*ApproveConfigSetResponse) ProtoMessage

func (*ApproveConfigSetResponse) ProtoMessage()

func (*ApproveConfigSetResponse) ProtoReflect

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

func (*ApproveConfigSetResponse) Reset

func (x *ApproveConfigSetResponse) Reset()

func (*ApproveConfigSetResponse) String

func (x *ApproveConfigSetResponse) String() string

type ApproveConfigSetSomeRequest

type ApproveConfigSetSomeRequest struct {

	// value contains a list of ApproveConfig values to write.
	// It is possible to provide more values than can fit within either:
	//     - the maxiumum send size of the client
	//     - the maximum receive size of the server
	// If this error occurs you must reduce the number of values sent.
	// See gRPC "maximum message size" documentation for more information.
	Values []*ApproveConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSetSomeRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigSetSomeRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigSetSomeRequest) GetValues

func (x *ApproveConfigSetSomeRequest) GetValues() []*ApproveConfig

func (*ApproveConfigSetSomeRequest) ProtoMessage

func (*ApproveConfigSetSomeRequest) ProtoMessage()

func (*ApproveConfigSetSomeRequest) ProtoReflect

func (*ApproveConfigSetSomeRequest) Reset

func (x *ApproveConfigSetSomeRequest) Reset()

func (*ApproveConfigSetSomeRequest) String

func (x *ApproveConfigSetSomeRequest) String() string

type ApproveConfigSetSomeResponse

type ApproveConfigSetSomeResponse struct {
	Key   *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string            `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSetSomeResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigSetSomeResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigSetSomeResponse) GetError

func (x *ApproveConfigSetSomeResponse) GetError() string

func (*ApproveConfigSetSomeResponse) GetKey

func (*ApproveConfigSetSomeResponse) ProtoMessage

func (*ApproveConfigSetSomeResponse) ProtoMessage()

func (*ApproveConfigSetSomeResponse) ProtoReflect

func (*ApproveConfigSetSomeResponse) Reset

func (x *ApproveConfigSetSomeResponse) Reset()

func (*ApproveConfigSetSomeResponse) String

type ApproveConfigSomeRequest

type ApproveConfigSomeRequest struct {
	Keys []*ChangeControlKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSomeRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigSomeRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigSomeRequest) GetKeys

func (*ApproveConfigSomeRequest) GetTime

func (*ApproveConfigSomeRequest) ProtoMessage

func (*ApproveConfigSomeRequest) ProtoMessage()

func (*ApproveConfigSomeRequest) ProtoReflect

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

func (*ApproveConfigSomeRequest) Reset

func (x *ApproveConfigSomeRequest) Reset()

func (*ApproveConfigSomeRequest) String

func (x *ApproveConfigSomeRequest) String() string

type ApproveConfigSomeResponse

type ApproveConfigSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ApproveConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigSomeResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigSomeResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigSomeResponse) GetError

func (*ApproveConfigSomeResponse) GetTime

func (*ApproveConfigSomeResponse) GetValue

func (*ApproveConfigSomeResponse) ProtoMessage

func (*ApproveConfigSomeResponse) ProtoMessage()

func (*ApproveConfigSomeResponse) ProtoReflect

func (*ApproveConfigSomeResponse) Reset

func (x *ApproveConfigSomeResponse) Reset()

func (*ApproveConfigSomeResponse) String

func (x *ApproveConfigSomeResponse) String() string

type ApproveConfigStreamRequest

type ApproveConfigStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*ApproveConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each ApproveConfig at end.
	//     * Each ApproveConfig response is fully-specified (all fields set).
	//   * start: Returns the state of each ApproveConfig at start, followed by updates until now.
	//     * Each ApproveConfig response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each ApproveConfig at start, followed by updates
	//     until end.
	//     * Each ApproveConfig response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use ApproveConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*ApproveConfigStreamRequest) GetPartialEqFilter

func (x *ApproveConfigStreamRequest) GetPartialEqFilter() []*ApproveConfig

func (*ApproveConfigStreamRequest) GetTime

func (*ApproveConfigStreamRequest) ProtoMessage

func (*ApproveConfigStreamRequest) ProtoMessage()

func (*ApproveConfigStreamRequest) ProtoReflect

func (*ApproveConfigStreamRequest) Reset

func (x *ApproveConfigStreamRequest) Reset()

func (*ApproveConfigStreamRequest) String

func (x *ApproveConfigStreamRequest) String() string

type ApproveConfigStreamResponse

type ApproveConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *ApproveConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this ApproveConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the ApproveConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use ApproveConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*ApproveConfigStreamResponse) GetTime

func (*ApproveConfigStreamResponse) GetType

func (*ApproveConfigStreamResponse) GetValue

func (*ApproveConfigStreamResponse) ProtoMessage

func (*ApproveConfigStreamResponse) ProtoMessage()

func (*ApproveConfigStreamResponse) ProtoReflect

func (*ApproveConfigStreamResponse) Reset

func (x *ApproveConfigStreamResponse) Reset()

func (*ApproveConfigStreamResponse) String

func (x *ApproveConfigStreamResponse) String() string

type Change

type Change struct {

	// name is the name of the change.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// root_stage_id is the ID of the root stage or the stage that
	// should execute first.
	RootStageId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=root_stage_id,json=rootStageId,proto3" json:"root_stage_id,omitempty"`
	// stages holds a configuration of stages and their statuses.
	Stages *StageMap `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// notes are any notes associated with the change.
	Notes *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"`
	// time is the time at which the change was last updated.
	Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	// user is the user by which the change was last updated.
	User *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Change holds the configuration and status of the change of a change control.

func (*Change) Descriptor deprecated

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

Deprecated: Use Change.ProtoReflect.Descriptor instead.

func (*Change) GetName

func (x *Change) GetName() *wrapperspb.StringValue

func (*Change) GetNotes

func (x *Change) GetNotes() *wrapperspb.StringValue

func (*Change) GetRootStageId

func (x *Change) GetRootStageId() *wrapperspb.StringValue

func (*Change) GetStages

func (x *Change) GetStages() *StageMap

func (*Change) GetTime

func (x *Change) GetTime() *timestamppb.Timestamp

func (*Change) GetUser

func (x *Change) GetUser() *wrapperspb.StringValue

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) ProtoReflect

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

func (*Change) Reset

func (x *Change) Reset()

func (*Change) String

func (x *Change) String() string

type ChangeConfig

type ChangeConfig struct {

	// name is the name of the change.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// root_stage_id is the ID of the root stage or the stage that
	// should execute first.
	RootStageId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=root_stage_id,json=rootStageId,proto3" json:"root_stage_id,omitempty"`
	// stages holds a configuration of stages. See `StageConfigMap`
	// description for more information.
	Stages *StageConfigMap `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// notes are any notes associated with the change.
	Notes *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

ChangeConfig holds a configuration for the change of a change control which is essentially a named configuration of stages.

func (*ChangeConfig) Descriptor deprecated

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

Deprecated: Use ChangeConfig.ProtoReflect.Descriptor instead.

func (*ChangeConfig) GetName

func (x *ChangeConfig) GetName() *wrapperspb.StringValue

func (*ChangeConfig) GetNotes

func (x *ChangeConfig) GetNotes() *wrapperspb.StringValue

func (*ChangeConfig) GetRootStageId

func (x *ChangeConfig) GetRootStageId() *wrapperspb.StringValue

func (*ChangeConfig) GetStages

func (x *ChangeConfig) GetStages() *StageConfigMap

func (*ChangeConfig) ProtoMessage

func (*ChangeConfig) ProtoMessage()

func (*ChangeConfig) ProtoReflect

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

func (*ChangeConfig) Reset

func (x *ChangeConfig) Reset()

func (*ChangeConfig) String

func (x *ChangeConfig) String() string

type ChangeControl

type ChangeControl struct {

	// key uniquely identifies the change control.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// change holds the configuration and status of the change of
	// the change control.
	Change *Change `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"`
	// approve indicates whether the change control was flagged
	// as approved (`approve.value` set to `true`) or unapproved
	// (`approve.value` set to `false`).
	Approve *Flag `protobuf:"bytes,3,opt,name=approve,proto3" json:"approve,omitempty"`
	// start indicates whether the change control was flagged to
	// start (`start.value` set to `true`) or stop (`start.value`
	// set to `false`) execution.
	Start *Flag `protobuf:"bytes,4,opt,name=start,proto3" json:"start,omitempty"`
	// status is the execution status of the change control.
	Status ChangeControlStatus `protobuf:"varint,5,opt,name=status,proto3,enum=arista.changecontrol.v1.ChangeControlStatus" json:"status,omitempty"`
	// error is any error that occurred during the execution of the
	// change control.
	Error *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// schedule indicates whether the change control was flagged
	// to be scheduled (`schedule.value` set to some timestamp) or
	// unscheduled (`schedule.value` set to `nil`) for execution.
	Schedule *TimestampFlag `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// device_ids is a list of device IDs on which the change control will operate.
	DeviceIds *fmp.RepeatedString `protobuf:"bytes,8,opt,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
	// contains filtered or unexported fields
}

ChangeControl holds the configuration and status of a change control.

func (*ChangeControl) Descriptor deprecated

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

Deprecated: Use ChangeControl.ProtoReflect.Descriptor instead.

func (*ChangeControl) GetApprove

func (x *ChangeControl) GetApprove() *Flag

func (*ChangeControl) GetChange

func (x *ChangeControl) GetChange() *Change

func (*ChangeControl) GetDeviceIds

func (x *ChangeControl) GetDeviceIds() *fmp.RepeatedString

func (*ChangeControl) GetError

func (x *ChangeControl) GetError() *wrapperspb.StringValue

func (*ChangeControl) GetKey

func (x *ChangeControl) GetKey() *ChangeControlKey

func (*ChangeControl) GetSchedule

func (x *ChangeControl) GetSchedule() *TimestampFlag

func (*ChangeControl) GetStart

func (x *ChangeControl) GetStart() *Flag

func (*ChangeControl) GetStatus

func (x *ChangeControl) GetStatus() ChangeControlStatus

func (*ChangeControl) ProtoMessage

func (*ChangeControl) ProtoMessage()

func (*ChangeControl) ProtoReflect

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

func (*ChangeControl) Reset

func (x *ChangeControl) Reset()

func (*ChangeControl) String

func (x *ChangeControl) String() string

type ChangeControlConfig

type ChangeControlConfig struct {

	// key uniquely identifies the change control.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// change is the change subject to execution.
	Change *ChangeConfig `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"`
	// start is the flag to start (`start.value` set to `true`)
	// or stop (`start.value` set to `false`) execution of the
	// change control.
	Start *FlagConfig `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	// schedule is the flag to schedule (`schedule.value` set to
	// some timestamp) or unschedule (`schedule.value` set to
	// `nil`) the change control for execution.
	Schedule *TimestampFlagConfig `protobuf:"bytes,4,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

ChangeControlConfig holds the configuration of a change control.

func (*ChangeControlConfig) Descriptor deprecated

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

Deprecated: Use ChangeControlConfig.ProtoReflect.Descriptor instead.

func (*ChangeControlConfig) GetChange

func (x *ChangeControlConfig) GetChange() *ChangeConfig

func (*ChangeControlConfig) GetKey

func (*ChangeControlConfig) GetSchedule

func (x *ChangeControlConfig) GetSchedule() *TimestampFlagConfig

func (*ChangeControlConfig) GetStart

func (x *ChangeControlConfig) GetStart() *FlagConfig

func (*ChangeControlConfig) ProtoMessage

func (*ChangeControlConfig) ProtoMessage()

func (*ChangeControlConfig) ProtoReflect

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

func (*ChangeControlConfig) Reset

func (x *ChangeControlConfig) Reset()

func (*ChangeControlConfig) String

func (x *ChangeControlConfig) String() string

type ChangeControlConfigDeleteAllRequest

type ChangeControlConfigDeleteAllRequest struct {

	// PartialEqFilter provides a way to server-side filter a DeleteAll.
	// This requires all provided fields to be equal to the response.
	// A filtered DeleteAll will use GetAll with filter to find things to delete.
	PartialEqFilter []*ChangeControlConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteAllRequest) GetPartialEqFilter

func (x *ChangeControlConfigDeleteAllRequest) GetPartialEqFilter() []*ChangeControlConfig

func (*ChangeControlConfigDeleteAllRequest) ProtoMessage

func (*ChangeControlConfigDeleteAllRequest) ProtoMessage()

func (*ChangeControlConfigDeleteAllRequest) ProtoReflect

func (*ChangeControlConfigDeleteAllRequest) Reset

func (*ChangeControlConfigDeleteAllRequest) String

type ChangeControlConfigDeleteAllResponse

type ChangeControlConfigDeleteAllResponse struct {

	// This describes the class of delete error.
	// A DeleteAllResponse is only sent when there is an error.
	Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"`
	// This indicates the error message from the delete failure.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// This is the key of the ChangeControlConfig instance that failed to be deleted.
	Key *ChangeControlKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp when the key was being deleted.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteAllResponse) GetError

func (*ChangeControlConfigDeleteAllResponse) GetKey

func (*ChangeControlConfigDeleteAllResponse) GetTime

func (*ChangeControlConfigDeleteAllResponse) GetType

func (*ChangeControlConfigDeleteAllResponse) ProtoMessage

func (*ChangeControlConfigDeleteAllResponse) ProtoMessage()

func (*ChangeControlConfigDeleteAllResponse) ProtoReflect

func (*ChangeControlConfigDeleteAllResponse) Reset

func (*ChangeControlConfigDeleteAllResponse) String

type ChangeControlConfigDeleteRequest

type ChangeControlConfigDeleteRequest struct {

	// Key indicates which ChangeControlConfig instance to remove.
	// This field must always be set.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigDeleteRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteRequest) GetKey

func (*ChangeControlConfigDeleteRequest) ProtoMessage

func (*ChangeControlConfigDeleteRequest) ProtoMessage()

func (*ChangeControlConfigDeleteRequest) ProtoReflect

func (*ChangeControlConfigDeleteRequest) Reset

func (*ChangeControlConfigDeleteRequest) String

type ChangeControlConfigDeleteResponse

type ChangeControlConfigDeleteResponse struct {

	// Key echoes back the key of the deleted ChangeControlConfig instance.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// deletion. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==DeletedAt will not include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigDeleteResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteResponse) GetKey

func (*ChangeControlConfigDeleteResponse) GetTime

func (*ChangeControlConfigDeleteResponse) ProtoMessage

func (*ChangeControlConfigDeleteResponse) ProtoMessage()

func (*ChangeControlConfigDeleteResponse) ProtoReflect

func (*ChangeControlConfigDeleteResponse) Reset

func (*ChangeControlConfigDeleteResponse) String

type ChangeControlConfigDeleteSomeRequest

type ChangeControlConfigDeleteSomeRequest struct {

	// key contains a list of ChangeControlConfig keys to delete
	Keys []*ChangeControlKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigDeleteSomeRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteSomeRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteSomeRequest) GetKeys

func (*ChangeControlConfigDeleteSomeRequest) ProtoMessage

func (*ChangeControlConfigDeleteSomeRequest) ProtoMessage()

func (*ChangeControlConfigDeleteSomeRequest) ProtoReflect

func (*ChangeControlConfigDeleteSomeRequest) Reset

func (*ChangeControlConfigDeleteSomeRequest) String

type ChangeControlConfigDeleteSomeResponse

type ChangeControlConfigDeleteSomeResponse struct {
	Key   *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string            `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ChangeControlConfigDeleteSomeResponse is only sent when there is an error.

func (*ChangeControlConfigDeleteSomeResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigDeleteSomeResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigDeleteSomeResponse) GetError

func (*ChangeControlConfigDeleteSomeResponse) GetKey

func (*ChangeControlConfigDeleteSomeResponse) ProtoMessage

func (*ChangeControlConfigDeleteSomeResponse) ProtoMessage()

func (*ChangeControlConfigDeleteSomeResponse) ProtoReflect

func (*ChangeControlConfigDeleteSomeResponse) Reset

func (*ChangeControlConfigDeleteSomeResponse) String

type ChangeControlConfigRequest

type ChangeControlConfigRequest struct {

	// Key uniquely identifies a ChangeControlConfig instance to retrieve.
	// This value must be populated.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigRequest) GetKey

func (*ChangeControlConfigRequest) GetTime

func (*ChangeControlConfigRequest) ProtoMessage

func (*ChangeControlConfigRequest) ProtoMessage()

func (*ChangeControlConfigRequest) ProtoReflect

func (*ChangeControlConfigRequest) Reset

func (x *ChangeControlConfigRequest) Reset()

func (*ChangeControlConfigRequest) String

func (x *ChangeControlConfigRequest) String() string

type ChangeControlConfigResponse

type ChangeControlConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ChangeControlConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// ChangeControlConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigResponse) GetTime

func (*ChangeControlConfigResponse) GetValue

func (*ChangeControlConfigResponse) ProtoMessage

func (*ChangeControlConfigResponse) ProtoMessage()

func (*ChangeControlConfigResponse) ProtoReflect

func (*ChangeControlConfigResponse) Reset

func (x *ChangeControlConfigResponse) Reset()

func (*ChangeControlConfigResponse) String

func (x *ChangeControlConfigResponse) String() string

type ChangeControlConfigServiceClient

type ChangeControlConfigServiceClient interface {
	GetOne(ctx context.Context, in *ChangeControlConfigRequest, opts ...grpc.CallOption) (*ChangeControlConfigResponse, error)
	GetSome(ctx context.Context, in *ChangeControlConfigSomeRequest, opts ...grpc.CallOption) (ChangeControlConfigService_GetSomeClient, error)
	GetAll(ctx context.Context, in *ChangeControlConfigStreamRequest, opts ...grpc.CallOption) (ChangeControlConfigService_GetAllClient, error)
	Subscribe(ctx context.Context, in *ChangeControlConfigStreamRequest, opts ...grpc.CallOption) (ChangeControlConfigService_SubscribeClient, error)
	GetMeta(ctx context.Context, in *ChangeControlConfigStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error)
	SubscribeMeta(ctx context.Context, in *ChangeControlConfigStreamRequest, opts ...grpc.CallOption) (ChangeControlConfigService_SubscribeMetaClient, error)
	Set(ctx context.Context, in *ChangeControlConfigSetRequest, opts ...grpc.CallOption) (*ChangeControlConfigSetResponse, error)
	SetSome(ctx context.Context, in *ChangeControlConfigSetSomeRequest, opts ...grpc.CallOption) (ChangeControlConfigService_SetSomeClient, error)
	Delete(ctx context.Context, in *ChangeControlConfigDeleteRequest, opts ...grpc.CallOption) (*ChangeControlConfigDeleteResponse, error)
	DeleteSome(ctx context.Context, in *ChangeControlConfigDeleteSomeRequest, opts ...grpc.CallOption) (ChangeControlConfigService_DeleteSomeClient, error)
	DeleteAll(ctx context.Context, in *ChangeControlConfigDeleteAllRequest, opts ...grpc.CallOption) (ChangeControlConfigService_DeleteAllClient, error)
}

ChangeControlConfigServiceClient is the client API for ChangeControlConfigService 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 ChangeControlConfigService_DeleteAllClient

type ChangeControlConfigService_DeleteAllClient interface {
	Recv() (*ChangeControlConfigDeleteAllResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_DeleteAllServer

type ChangeControlConfigService_DeleteAllServer interface {
	Send(*ChangeControlConfigDeleteAllResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_DeleteSomeClient

type ChangeControlConfigService_DeleteSomeClient interface {
	Recv() (*ChangeControlConfigDeleteSomeResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_DeleteSomeServer

type ChangeControlConfigService_DeleteSomeServer interface {
	Send(*ChangeControlConfigDeleteSomeResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_GetAllClient

type ChangeControlConfigService_GetAllClient interface {
	Recv() (*ChangeControlConfigStreamResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_GetAllServer

type ChangeControlConfigService_GetAllServer interface {
	Send(*ChangeControlConfigStreamResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_GetSomeClient

type ChangeControlConfigService_GetSomeClient interface {
	Recv() (*ChangeControlConfigSomeResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_GetSomeServer

type ChangeControlConfigService_GetSomeServer interface {
	Send(*ChangeControlConfigSomeResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_SetSomeClient

type ChangeControlConfigService_SetSomeClient interface {
	Recv() (*ChangeControlConfigSetSomeResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_SetSomeServer

type ChangeControlConfigService_SetSomeServer interface {
	Send(*ChangeControlConfigSetSomeResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_SubscribeClient

type ChangeControlConfigService_SubscribeClient interface {
	Recv() (*ChangeControlConfigStreamResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_SubscribeMetaClient

type ChangeControlConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type ChangeControlConfigService_SubscribeMetaServer

type ChangeControlConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type ChangeControlConfigService_SubscribeServer

type ChangeControlConfigService_SubscribeServer interface {
	Send(*ChangeControlConfigStreamResponse) error
	grpc.ServerStream
}

type ChangeControlConfigSetRequest

type ChangeControlConfigSetRequest struct {

	// ChangeControlConfig carries the value to set into the datastore.
	// See the documentation on the ChangeControlConfig struct for which fields are required.
	Value *ChangeControlConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSetRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSetRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSetRequest) GetValue

func (*ChangeControlConfigSetRequest) ProtoMessage

func (*ChangeControlConfigSetRequest) ProtoMessage()

func (*ChangeControlConfigSetRequest) ProtoReflect

func (*ChangeControlConfigSetRequest) Reset

func (x *ChangeControlConfigSetRequest) Reset()

func (*ChangeControlConfigSetRequest) String

type ChangeControlConfigSetResponse

type ChangeControlConfigSetResponse struct {

	// Value carries all the values given in the ChangeControlConfigSetRequest as well
	// as any server-generated values.
	Value *ChangeControlConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==CreatedAt will include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSetResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSetResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSetResponse) GetTime

func (*ChangeControlConfigSetResponse) GetValue

func (*ChangeControlConfigSetResponse) ProtoMessage

func (*ChangeControlConfigSetResponse) ProtoMessage()

func (*ChangeControlConfigSetResponse) ProtoReflect

func (*ChangeControlConfigSetResponse) Reset

func (x *ChangeControlConfigSetResponse) Reset()

func (*ChangeControlConfigSetResponse) String

type ChangeControlConfigSetSomeRequest

type ChangeControlConfigSetSomeRequest struct {

	// value contains a list of ChangeControlConfig values to write.
	// It is possible to provide more values than can fit within either:
	//     - the maxiumum send size of the client
	//     - the maximum receive size of the server
	// If this error occurs you must reduce the number of values sent.
	// See gRPC "maximum message size" documentation for more information.
	Values []*ChangeControlConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSetSomeRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSetSomeRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSetSomeRequest) GetValues

func (*ChangeControlConfigSetSomeRequest) ProtoMessage

func (*ChangeControlConfigSetSomeRequest) ProtoMessage()

func (*ChangeControlConfigSetSomeRequest) ProtoReflect

func (*ChangeControlConfigSetSomeRequest) Reset

func (*ChangeControlConfigSetSomeRequest) String

type ChangeControlConfigSetSomeResponse

type ChangeControlConfigSetSomeResponse struct {
	Key   *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string            `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSetSomeResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSetSomeResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSetSomeResponse) GetError

func (*ChangeControlConfigSetSomeResponse) GetKey

func (*ChangeControlConfigSetSomeResponse) ProtoMessage

func (*ChangeControlConfigSetSomeResponse) ProtoMessage()

func (*ChangeControlConfigSetSomeResponse) ProtoReflect

func (*ChangeControlConfigSetSomeResponse) Reset

func (*ChangeControlConfigSetSomeResponse) String

type ChangeControlConfigSomeRequest

type ChangeControlConfigSomeRequest struct {
	Keys []*ChangeControlKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSomeRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSomeRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSomeRequest) GetKeys

func (*ChangeControlConfigSomeRequest) GetTime

func (*ChangeControlConfigSomeRequest) ProtoMessage

func (*ChangeControlConfigSomeRequest) ProtoMessage()

func (*ChangeControlConfigSomeRequest) ProtoReflect

func (*ChangeControlConfigSomeRequest) Reset

func (x *ChangeControlConfigSomeRequest) Reset()

func (*ChangeControlConfigSomeRequest) String

type ChangeControlConfigSomeResponse

type ChangeControlConfigSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ChangeControlConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigSomeResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigSomeResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigSomeResponse) GetError

func (*ChangeControlConfigSomeResponse) GetTime

func (*ChangeControlConfigSomeResponse) GetValue

func (*ChangeControlConfigSomeResponse) ProtoMessage

func (*ChangeControlConfigSomeResponse) ProtoMessage()

func (*ChangeControlConfigSomeResponse) ProtoReflect

func (*ChangeControlConfigSomeResponse) Reset

func (*ChangeControlConfigSomeResponse) String

type ChangeControlConfigStreamRequest

type ChangeControlConfigStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*ChangeControlConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each ChangeControlConfig at end.
	//     * Each ChangeControlConfig response is fully-specified (all fields set).
	//   * start: Returns the state of each ChangeControlConfig at start, followed by updates until now.
	//     * Each ChangeControlConfig response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each ChangeControlConfig at start, followed by updates
	//     until end.
	//     * Each ChangeControlConfig response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigStreamRequest) GetPartialEqFilter

func (x *ChangeControlConfigStreamRequest) GetPartialEqFilter() []*ChangeControlConfig

func (*ChangeControlConfigStreamRequest) GetTime

func (*ChangeControlConfigStreamRequest) ProtoMessage

func (*ChangeControlConfigStreamRequest) ProtoMessage()

func (*ChangeControlConfigStreamRequest) ProtoReflect

func (*ChangeControlConfigStreamRequest) Reset

func (*ChangeControlConfigStreamRequest) String

type ChangeControlConfigStreamResponse

type ChangeControlConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *ChangeControlConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this ChangeControlConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the ChangeControlConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlConfigStreamResponse) GetTime

func (*ChangeControlConfigStreamResponse) GetType

func (*ChangeControlConfigStreamResponse) GetValue

func (*ChangeControlConfigStreamResponse) ProtoMessage

func (*ChangeControlConfigStreamResponse) ProtoMessage()

func (*ChangeControlConfigStreamResponse) ProtoReflect

func (*ChangeControlConfigStreamResponse) Reset

func (*ChangeControlConfigStreamResponse) String

type ChangeControlKey

type ChangeControlKey struct {

	// id is the ID of the change control.
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ChangeControlKey uniquely identifies a change control.

func (*ChangeControlKey) Descriptor deprecated

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

Deprecated: Use ChangeControlKey.ProtoReflect.Descriptor instead.

func (*ChangeControlKey) GetId

func (*ChangeControlKey) ProtoMessage

func (*ChangeControlKey) ProtoMessage()

func (*ChangeControlKey) ProtoReflect

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

func (*ChangeControlKey) Reset

func (x *ChangeControlKey) Reset()

func (*ChangeControlKey) String

func (x *ChangeControlKey) String() string

type ChangeControlRequest

type ChangeControlRequest struct {

	// Key uniquely identifies a ChangeControl instance to retrieve.
	// This value must be populated.
	Key *ChangeControlKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlRequest) GetKey

func (*ChangeControlRequest) GetTime

func (*ChangeControlRequest) ProtoMessage

func (*ChangeControlRequest) ProtoMessage()

func (*ChangeControlRequest) ProtoReflect

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

func (*ChangeControlRequest) Reset

func (x *ChangeControlRequest) Reset()

func (*ChangeControlRequest) String

func (x *ChangeControlRequest) String() string

type ChangeControlResponse

type ChangeControlResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ChangeControl `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// ChangeControl instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlResponse) GetTime

func (*ChangeControlResponse) GetValue

func (x *ChangeControlResponse) GetValue() *ChangeControl

func (*ChangeControlResponse) ProtoMessage

func (*ChangeControlResponse) ProtoMessage()

func (*ChangeControlResponse) ProtoReflect

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

func (*ChangeControlResponse) Reset

func (x *ChangeControlResponse) Reset()

func (*ChangeControlResponse) String

func (x *ChangeControlResponse) String() string

type ChangeControlServiceClient

ChangeControlServiceClient is the client API for ChangeControlService 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 ChangeControlServiceServer

ChangeControlServiceServer is the server API for ChangeControlService service. All implementations must embed UnimplementedChangeControlServiceServer for forward compatibility

type ChangeControlService_GetAllClient

type ChangeControlService_GetAllClient interface {
	Recv() (*ChangeControlStreamResponse, error)
	grpc.ClientStream
}

type ChangeControlService_GetAllServer

type ChangeControlService_GetAllServer interface {
	Send(*ChangeControlStreamResponse) error
	grpc.ServerStream
}

type ChangeControlService_GetSomeClient

type ChangeControlService_GetSomeClient interface {
	Recv() (*ChangeControlSomeResponse, error)
	grpc.ClientStream
}

type ChangeControlService_GetSomeServer

type ChangeControlService_GetSomeServer interface {
	Send(*ChangeControlSomeResponse) error
	grpc.ServerStream
}

type ChangeControlService_SubscribeClient

type ChangeControlService_SubscribeClient interface {
	Recv() (*ChangeControlStreamResponse, error)
	grpc.ClientStream
}

type ChangeControlService_SubscribeMetaClient

type ChangeControlService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type ChangeControlService_SubscribeMetaServer

type ChangeControlService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type ChangeControlService_SubscribeServer

type ChangeControlService_SubscribeServer interface {
	Send(*ChangeControlStreamResponse) error
	grpc.ServerStream
}

type ChangeControlSomeRequest

type ChangeControlSomeRequest struct {
	Keys []*ChangeControlKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlSomeRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlSomeRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlSomeRequest) GetKeys

func (*ChangeControlSomeRequest) GetTime

func (*ChangeControlSomeRequest) ProtoMessage

func (*ChangeControlSomeRequest) ProtoMessage()

func (*ChangeControlSomeRequest) ProtoReflect

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

func (*ChangeControlSomeRequest) Reset

func (x *ChangeControlSomeRequest) Reset()

func (*ChangeControlSomeRequest) String

func (x *ChangeControlSomeRequest) String() string

type ChangeControlSomeResponse

type ChangeControlSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ChangeControl `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlSomeResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlSomeResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlSomeResponse) GetError

func (*ChangeControlSomeResponse) GetTime

func (*ChangeControlSomeResponse) GetValue

func (*ChangeControlSomeResponse) ProtoMessage

func (*ChangeControlSomeResponse) ProtoMessage()

func (*ChangeControlSomeResponse) ProtoReflect

func (*ChangeControlSomeResponse) Reset

func (x *ChangeControlSomeResponse) Reset()

func (*ChangeControlSomeResponse) String

func (x *ChangeControlSomeResponse) String() string

type ChangeControlStatus

type ChangeControlStatus int32

ChangeControlStatus defines the possible execution statuses of a change control.

const (
	ChangeControlStatus_CHANGE_CONTROL_STATUS_UNSPECIFIED ChangeControlStatus = 0
	// CHANGE_CONTROL_STATUS_RUNNING means the change control has begun
	// execution.
	ChangeControlStatus_CHANGE_CONTROL_STATUS_RUNNING ChangeControlStatus = 1
	// CHANGE_CONTROL_STATUS_COMPLETED means the change control has ceased
	// execution. Success/failure of a change control cannot be inferred
	// from this status alone but rather this status plus the change control
	// error. That is, no error implies success and some error implies failure.
	ChangeControlStatus_CHANGE_CONTROL_STATUS_COMPLETED ChangeControlStatus = 2
	// CHANGE_CONTROL_STATUS_SCHEDULED means the change control has been
	// scheduled for execution at some time. Any failure that occurs during
	// this process will cause a transition back to the unspecified status,
	// a reset of the schedule flag by the system, and an error on the change
	// control reporting the details of the failure.
	ChangeControlStatus_CHANGE_CONTROL_STATUS_SCHEDULED ChangeControlStatus = 3
	// CHANGE_CONTROL_STATUS_NOT_STARTED means the change control has not been
	// started. This would include approved and not approved change controls.
	ChangeControlStatus_CHANGE_CONTROL_STATUS_NOT_STARTED ChangeControlStatus = 4
)

func (ChangeControlStatus) Descriptor

func (ChangeControlStatus) Enum

func (ChangeControlStatus) EnumDescriptor deprecated

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

Deprecated: Use ChangeControlStatus.Descriptor instead.

func (ChangeControlStatus) Number

func (ChangeControlStatus) String

func (x ChangeControlStatus) String() string

func (ChangeControlStatus) Type

type ChangeControlStreamRequest

type ChangeControlStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*ChangeControl `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// For each ChangeControl in the list, all populated fields are considered ANDed together
	// as a filtering operation. Similarly, the list itself is ORed such that any individual
	// filter that matches a given ChangeControl is streamed to the user.
	Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each ChangeControl at end.
	//     * Each ChangeControl response is fully-specified (all fields set).
	//   * start: Returns the state of each ChangeControl at start, followed by updates until now.
	//     * Each ChangeControl response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each ChangeControl at start, followed by updates
	//     until end.
	//     * Each ChangeControl response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlStreamRequest) Descriptor deprecated

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

Deprecated: Use ChangeControlStreamRequest.ProtoReflect.Descriptor instead.

func (*ChangeControlStreamRequest) GetFilter

func (x *ChangeControlStreamRequest) GetFilter() *Filter

func (*ChangeControlStreamRequest) GetPartialEqFilter

func (x *ChangeControlStreamRequest) GetPartialEqFilter() []*ChangeControl

func (*ChangeControlStreamRequest) GetTime

func (*ChangeControlStreamRequest) ProtoMessage

func (*ChangeControlStreamRequest) ProtoMessage()

func (*ChangeControlStreamRequest) ProtoReflect

func (*ChangeControlStreamRequest) Reset

func (x *ChangeControlStreamRequest) Reset()

func (*ChangeControlStreamRequest) String

func (x *ChangeControlStreamRequest) String() string

type ChangeControlStreamResponse

type ChangeControlStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *ChangeControl `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this ChangeControl's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the ChangeControl value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeControlStreamResponse) Descriptor deprecated

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

Deprecated: Use ChangeControlStreamResponse.ProtoReflect.Descriptor instead.

func (*ChangeControlStreamResponse) GetTime

func (*ChangeControlStreamResponse) GetType

func (*ChangeControlStreamResponse) GetValue

func (*ChangeControlStreamResponse) ProtoMessage

func (*ChangeControlStreamResponse) ProtoMessage()

func (*ChangeControlStreamResponse) ProtoReflect

func (*ChangeControlStreamResponse) Reset

func (x *ChangeControlStreamResponse) Reset()

func (*ChangeControlStreamResponse) String

func (x *ChangeControlStreamResponse) String() string

type Filter

type Filter struct {

	// device_ids includes the list of device ids to be matched with devices
	// in the changecontrol state model.
	// At least one of the provided device ids must be present in CC devices field.
	DeviceIds *fmp.RepeatedString `protobuf:"bytes,1,opt,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
	// contains filtered or unexported fields
}

Filter is used to filter changecontrols for requested device ids.

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetDeviceIds

func (x *Filter) GetDeviceIds() *fmp.RepeatedString

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type Flag

type Flag struct {

	// value is the value of the flag (`true` or `false`).
	Value *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// notes are any notes associated with the setting of the flag.
	Notes *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"`
	// time is the time at which the flag was last updated.
	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// user is the user by which the flag was last updated.
	User *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Flag holds the configuration of a boolean flag plus some information about when and by whom it was set.

func (*Flag) Descriptor deprecated

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

Deprecated: Use Flag.ProtoReflect.Descriptor instead.

func (*Flag) GetNotes

func (x *Flag) GetNotes() *wrapperspb.StringValue

func (*Flag) GetTime

func (x *Flag) GetTime() *timestamppb.Timestamp

func (*Flag) GetUser

func (x *Flag) GetUser() *wrapperspb.StringValue

func (*Flag) GetValue

func (x *Flag) GetValue() *wrapperspb.BoolValue

func (*Flag) ProtoMessage

func (*Flag) ProtoMessage()

func (*Flag) ProtoReflect

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

func (*Flag) Reset

func (x *Flag) Reset()

func (*Flag) String

func (x *Flag) String() string

type FlagConfig

type FlagConfig struct {

	// value is the value of the flag (`true` or `false`).
	Value *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// notes are any notes associated with the flag value.
	Notes *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

FlagConfig is used to set a flag on a change control that takes a boolean value (e.g. start/stop, approve/unapprove).

func (*FlagConfig) Descriptor deprecated

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

Deprecated: Use FlagConfig.ProtoReflect.Descriptor instead.

func (*FlagConfig) GetNotes

func (x *FlagConfig) GetNotes() *wrapperspb.StringValue

func (*FlagConfig) GetValue

func (x *FlagConfig) GetValue() *wrapperspb.BoolValue

func (*FlagConfig) ProtoMessage

func (*FlagConfig) ProtoMessage()

func (*FlagConfig) ProtoReflect

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

func (*FlagConfig) Reset

func (x *FlagConfig) Reset()

func (*FlagConfig) String

func (x *FlagConfig) String() string

type MetaResponse

type MetaResponse struct {

	// Time holds the timestamp of the last item included in the metadata calculation.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// Count is the number of items present under the conditions of the request.
	Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaResponse) Descriptor deprecated

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

Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.

func (*MetaResponse) GetCount

func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value

func (*MetaResponse) GetTime

func (x *MetaResponse) GetTime() *timestamppb.Timestamp

func (*MetaResponse) GetType

func (x *MetaResponse) GetType() subscriptions.Operation

func (*MetaResponse) ProtoMessage

func (*MetaResponse) ProtoMessage()

func (*MetaResponse) ProtoReflect

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

func (*MetaResponse) Reset

func (x *MetaResponse) Reset()

func (*MetaResponse) String

func (x *MetaResponse) String() string

type RepeatedRepeatedString

type RepeatedRepeatedString struct {

	// values is a list of `fmp.RepeatedString`.
	Values []*fmp.RepeatedString `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

RepeatedRepeatedString wraps a repeated `fmp.RepeatedString` to define a string matrix which is used to represent stage rows (see `StageConfig`).

func (*RepeatedRepeatedString) Descriptor deprecated

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

Deprecated: Use RepeatedRepeatedString.ProtoReflect.Descriptor instead.

func (*RepeatedRepeatedString) GetValues

func (x *RepeatedRepeatedString) GetValues() []*fmp.RepeatedString

func (*RepeatedRepeatedString) ProtoMessage

func (*RepeatedRepeatedString) ProtoMessage()

func (*RepeatedRepeatedString) ProtoReflect

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

func (*RepeatedRepeatedString) Reset

func (x *RepeatedRepeatedString) Reset()

func (*RepeatedRepeatedString) String

func (x *RepeatedRepeatedString) String() string

type Stage

type Stage struct {

	// name is the name of the stage.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// action is the action to perform during the stage.
	Action *Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// rows is a series of rows of parallel stages referenced
	// by ID. See `StageConfig.rows` for more details.
	Rows *RepeatedRepeatedString `protobuf:"bytes,3,opt,name=rows,proto3" json:"rows,omitempty"`
	// status is the execution status of the stage.
	Status StageStatus `protobuf:"varint,4,opt,name=status,proto3,enum=arista.changecontrol.v1.StageStatus" json:"status,omitempty"`
	// error is any error that occured during the execution
	// of the stage.
	Error *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// start_time is the time when status change to Running
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// end_time is the time when status change to Completed
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Stage holds the configuration and status of a stage.

func (*Stage) Descriptor deprecated

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

Deprecated: Use Stage.ProtoReflect.Descriptor instead.

func (*Stage) GetAction

func (x *Stage) GetAction() *Action

func (*Stage) GetEndTime

func (x *Stage) GetEndTime() *timestamppb.Timestamp

func (*Stage) GetError

func (x *Stage) GetError() *wrapperspb.StringValue

func (*Stage) GetName

func (x *Stage) GetName() *wrapperspb.StringValue

func (*Stage) GetRows

func (x *Stage) GetRows() *RepeatedRepeatedString

func (*Stage) GetStartTime

func (x *Stage) GetStartTime() *timestamppb.Timestamp

func (*Stage) GetStatus

func (x *Stage) GetStatus() StageStatus

func (*Stage) ProtoMessage

func (*Stage) ProtoMessage()

func (*Stage) ProtoReflect

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

func (*Stage) Reset

func (x *Stage) Reset()

func (*Stage) String

func (x *Stage) String() string

type StageConfig

type StageConfig struct {

	// name is the name of the stage.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// action is the action to perform on stage execution.
	Action *Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// rows is a series of rows of parallel stages referenced
	// by ID. Each row is run one after the other and the
	// stages within each row are run in parallel.
	//
	// For example:
	//
	// “`
	// [["1a", "1b"], ["2"]]
	// “`
	//
	// This configures stage 1a and stage 1b to run at the
	// same time, and then stage 2 once both of them have
	// completed.
	Rows *RepeatedRepeatedString `protobuf:"bytes,3,opt,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

StageConfig holds a configuration for a stage in a change control. Each stage generally defines either an action or a series of sub-stages.

func (*StageConfig) Descriptor deprecated

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

Deprecated: Use StageConfig.ProtoReflect.Descriptor instead.

func (*StageConfig) GetAction

func (x *StageConfig) GetAction() *Action

func (*StageConfig) GetName

func (x *StageConfig) GetName() *wrapperspb.StringValue

func (*StageConfig) GetRows

func (x *StageConfig) GetRows() *RepeatedRepeatedString

func (*StageConfig) ProtoMessage

func (*StageConfig) ProtoMessage()

func (*StageConfig) ProtoReflect

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

func (*StageConfig) Reset

func (x *StageConfig) Reset()

func (*StageConfig) String

func (x *StageConfig) String() string

type StageConfigMap

type StageConfigMap struct {

	// values is a map from stage ID to `StageConfig`.
	Values map[string]*StageConfig `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

StageConfigMap wraps a map from stage ID to `StageConfig`. This defines the configuration and order of execution for the stages in a change control.

For example:

```

{
    "root": { name: "root", rows: [["1-2"], ["3"]] },
    "1-2":  { name: "stages 1-2", rows: [["1"], ["2"]] },
    "1":    { name: "stage 1", rows: [["1a", "1b"]] },
    "1a":   { name: "stage 1a", action: { name: "task", args: { "TaskID": "101" } },
    "1b":   { name: "stage 1b", action: { name: "task", args: { "TaskID": "102" } },
    "2":    { name: "stage 2", action: { name: "task", args: { "TaskID": "103" } },
    "3":    { name: "stage 3", action: { name: "task", args: { "TaskID": "104" } }
}

```

Assuming the root stage ID of the enclosing change control is "root", this would mean to do the following in sequence:

``` root |- stages 1-2 | |- stage 1 | | |- stage 1a, stage 1b (parallel) | |- stage 2 |- stage 3 ```

That is, execute tasks `101` and `102` in parallel, then task `103`, then task `104`.

func (*StageConfigMap) Descriptor deprecated

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

Deprecated: Use StageConfigMap.ProtoReflect.Descriptor instead.

func (*StageConfigMap) GetValues

func (x *StageConfigMap) GetValues() map[string]*StageConfig

func (*StageConfigMap) ProtoMessage

func (*StageConfigMap) ProtoMessage()

func (*StageConfigMap) ProtoReflect

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

func (*StageConfigMap) Reset

func (x *StageConfigMap) Reset()

func (*StageConfigMap) String

func (x *StageConfigMap) String() string

type StageMap

type StageMap struct {

	// values is a map from stage ID to `Stage`.
	Values map[string]*Stage `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

StageMap is a map from stage ID to `Stage`. This has essentially the same structure as `StageConfigMap`, but with each ID mapping to a `Stage` instead of `StageConfig`.

func (*StageMap) Descriptor deprecated

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

Deprecated: Use StageMap.ProtoReflect.Descriptor instead.

func (*StageMap) GetValues

func (x *StageMap) GetValues() map[string]*Stage

func (*StageMap) ProtoMessage

func (*StageMap) ProtoMessage()

func (*StageMap) ProtoReflect

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

func (*StageMap) Reset

func (x *StageMap) Reset()

func (*StageMap) String

func (x *StageMap) String() string

type StageStatus

type StageStatus int32

StageStatus defines the possible execution statuses of a stage.

const (
	StageStatus_STAGE_STATUS_UNSPECIFIED StageStatus = 0
	// STAGE_STATUS_RUNNING means the stage has begun execution.
	StageStatus_STAGE_STATUS_RUNNING StageStatus = 1
	// STAGE_STATUS_COMPLETED means the stage has ceased execution.
	// Success/failure of a stage cannot be inferred from this status
	// alone but rather this status plus the stage error. That is, no
	// error implies success and some error implies failure.
	StageStatus_STAGE_STATUS_COMPLETED StageStatus = 2
	// STAGE_STATUS_NOT_STARTED means the stage has not been started.
	StageStatus_STAGE_STATUS_NOT_STARTED StageStatus = 3
)

func (StageStatus) Descriptor

func (StageStatus) Enum

func (x StageStatus) Enum() *StageStatus

func (StageStatus) EnumDescriptor deprecated

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

Deprecated: Use StageStatus.Descriptor instead.

func (StageStatus) Number

func (x StageStatus) Number() protoreflect.EnumNumber

func (StageStatus) String

func (x StageStatus) String() string

func (StageStatus) Type

type TimestampFlag

type TimestampFlag struct {

	// value is the value of the flag (some timestamp).
	Value *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// notes are any notes associated with the setting of the flag.
	Notes *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"`
	// time is the time at which the flag was last updated.
	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// user is the user by which the flag was last updated.
	User *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

TimestampFlag holds the configuration of a timestamp flag plus some information about when and by whom is was set.

func (*TimestampFlag) Descriptor deprecated

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

Deprecated: Use TimestampFlag.ProtoReflect.Descriptor instead.

func (*TimestampFlag) GetNotes

func (x *TimestampFlag) GetNotes() *wrapperspb.StringValue

func (*TimestampFlag) GetTime

func (x *TimestampFlag) GetTime() *timestamppb.Timestamp

func (*TimestampFlag) GetUser

func (x *TimestampFlag) GetUser() *wrapperspb.StringValue

func (*TimestampFlag) GetValue

func (x *TimestampFlag) GetValue() *timestamppb.Timestamp

func (*TimestampFlag) ProtoMessage

func (*TimestampFlag) ProtoMessage()

func (*TimestampFlag) ProtoReflect

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

func (*TimestampFlag) Reset

func (x *TimestampFlag) Reset()

func (*TimestampFlag) String

func (x *TimestampFlag) String() string

type TimestampFlagConfig

type TimestampFlagConfig struct {

	// value is the value of the flag (some timestamp).
	Value *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// notes are the notes associated with the flag value.
	Notes *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

TimestampFlagConfig is used to set a flag on a change control that takes a timestamp value (e.g. schedule/unschedule).

func (*TimestampFlagConfig) Descriptor deprecated

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

Deprecated: Use TimestampFlagConfig.ProtoReflect.Descriptor instead.

func (*TimestampFlagConfig) GetNotes

func (*TimestampFlagConfig) GetValue

func (x *TimestampFlagConfig) GetValue() *timestamppb.Timestamp

func (*TimestampFlagConfig) ProtoMessage

func (*TimestampFlagConfig) ProtoMessage()

func (*TimestampFlagConfig) ProtoReflect

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

func (*TimestampFlagConfig) Reset

func (x *TimestampFlagConfig) Reset()

func (*TimestampFlagConfig) String

func (x *TimestampFlagConfig) String() string

type UnimplementedApproveConfigServiceServer

type UnimplementedApproveConfigServiceServer struct {
}

UnimplementedApproveConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedApproveConfigServiceServer) GetMeta

func (UnimplementedApproveConfigServiceServer) GetOne

func (UnimplementedApproveConfigServiceServer) Set

type UnimplementedChangeControlConfigServiceServer

type UnimplementedChangeControlConfigServiceServer struct {
}

UnimplementedChangeControlConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedChangeControlConfigServiceServer) GetMeta

type UnimplementedChangeControlServiceServer

type UnimplementedChangeControlServiceServer struct {
}

UnimplementedChangeControlServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedChangeControlServiceServer) GetMeta

func (UnimplementedChangeControlServiceServer) GetOne

type UnsafeApproveConfigServiceServer

type UnsafeApproveConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeApproveConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApproveConfigServiceServer will result in compilation errors.

type UnsafeChangeControlConfigServiceServer

type UnsafeChangeControlConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeChangeControlConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChangeControlConfigServiceServer will result in compilation errors.

type UnsafeChangeControlServiceServer

type UnsafeChangeControlServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeChangeControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChangeControlServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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