api

package
v0.0.0-...-8578f00 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateService_PutDeployment_FullMethodName               = "/proto.UpdateService/PutDeployment"
	UpdateService_GetDeployment_FullMethodName               = "/proto.UpdateService/GetDeployment"
	UpdateService_GetDeploymentOwnedRevisions_FullMethodName = "/proto.UpdateService/GetDeploymentOwnedRevisions"
	UpdateService_GetNewRevision_FullMethodName              = "/proto.UpdateService/GetNewRevision"
	UpdateService_RollbackRevision_FullMethodName            = "/proto.UpdateService/RollbackRevision"
	UpdateService_PauseDeployment_FullMethodName             = "/proto.UpdateService/PauseDeployment"
	UpdateService_UnpauseDeployment_FullMethodName           = "/proto.UpdateService/UnpauseDeployment"
	UpdateService_StopDeployment_FullMethodName              = "/proto.UpdateService/StopDeployment"
	UpdateService_DeleteDeployment_FullMethodName            = "/proto.UpdateService/DeleteDeployment"
)

Variables

View Source
var File_update_service_model_proto protoreflect.FileDescriptor
View Source
var File_update_service_proto protoreflect.FileDescriptor
View Source
var UpdateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.UpdateService",
	HandlerType: (*UpdateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutDeployment",
			Handler:    _UpdateService_PutDeployment_Handler,
		},
		{
			MethodName: "GetDeployment",
			Handler:    _UpdateService_GetDeployment_Handler,
		},
		{
			MethodName: "GetDeploymentOwnedRevisions",
			Handler:    _UpdateService_GetDeploymentOwnedRevisions_Handler,
		},
		{
			MethodName: "GetNewRevision",
			Handler:    _UpdateService_GetNewRevision_Handler,
		},
		{
			MethodName: "RollbackRevision",
			Handler:    _UpdateService_RollbackRevision_Handler,
		},
		{
			MethodName: "PauseDeployment",
			Handler:    _UpdateService_PauseDeployment_Handler,
		},
		{
			MethodName: "UnpauseDeployment",
			Handler:    _UpdateService_UnpauseDeployment_Handler,
		},
		{
			MethodName: "StopDeployment",
			Handler:    _UpdateService_StopDeployment_Handler,
		},
		{
			MethodName: "DeleteDeployment",
			Handler:    _UpdateService_DeleteDeployment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "update-service.proto",
}

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

Functions

func RegisterUpdateServiceServer

func RegisterUpdateServiceServer(s grpc.ServiceRegistrar, srv UpdateServiceServer)

func Subject

func Subject(nodeId string) string

Types

type App

type App struct {
	Name           string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SelectorLabels map[string]string `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetName

func (x *App) GetName() string

func (*App) GetSelectorLabels

func (x *App) GetSelectorLabels() map[string]string

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type AppSpec

type AppSpec struct {
	Name                      string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace                 string             `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId                     string             `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	SelectorLabels            map[string]string  `` /* 169-byte string literal not displayed */
	Quotas                    map[string]float64 `` /* 155-byte string literal not displayed */
	SeccompProfile            *SeccompProf       `protobuf:"bytes,6,opt,name=seccompProfile,proto3" json:"seccompProfile,omitempty"`
	SeccompDefinitionStrategy string             `protobuf:"bytes,7,opt,name=seccompDefinitionStrategy,proto3" json:"seccompDefinitionStrategy,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSpec) Descriptor deprecated

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

Deprecated: Use AppSpec.ProtoReflect.Descriptor instead.

func (*AppSpec) GetName

func (x *AppSpec) GetName() string

func (*AppSpec) GetNamespace

func (x *AppSpec) GetNamespace() string

func (*AppSpec) GetOrgId

func (x *AppSpec) GetOrgId() string

func (*AppSpec) GetQuotas

func (x *AppSpec) GetQuotas() map[string]float64

func (*AppSpec) GetSeccompDefinitionStrategy

func (x *AppSpec) GetSeccompDefinitionStrategy() string

func (*AppSpec) GetSeccompProfile

func (x *AppSpec) GetSeccompProfile() *SeccompProf

func (*AppSpec) GetSelectorLabels

func (x *AppSpec) GetSelectorLabels() map[string]string

func (*AppSpec) ProtoMessage

func (*AppSpec) ProtoMessage()

func (*AppSpec) ProtoReflect

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

func (*AppSpec) Reset

func (x *AppSpec) Reset()

func (*AppSpec) String

func (x *AppSpec) String() string

type ApplyAppOperationCommand

type ApplyAppOperationCommand struct {
	Name            string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace       string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId           string            `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	Operation       string            `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"`
	SelectorLabels  map[string]string `` /* 169-byte string literal not displayed */
	MinReadySeconds int64             `protobuf:"varint,6,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyAppOperationCommand) Descriptor deprecated

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

Deprecated: Use ApplyAppOperationCommand.ProtoReflect.Descriptor instead.

func (*ApplyAppOperationCommand) GetMinReadySeconds

func (x *ApplyAppOperationCommand) GetMinReadySeconds() int64

func (*ApplyAppOperationCommand) GetName

func (x *ApplyAppOperationCommand) GetName() string

func (*ApplyAppOperationCommand) GetNamespace

func (x *ApplyAppOperationCommand) GetNamespace() string

func (*ApplyAppOperationCommand) GetOperation

func (x *ApplyAppOperationCommand) GetOperation() string

func (*ApplyAppOperationCommand) GetOrgId

func (x *ApplyAppOperationCommand) GetOrgId() string

func (*ApplyAppOperationCommand) GetSelectorLabels

func (x *ApplyAppOperationCommand) GetSelectorLabels() map[string]string

func (*ApplyAppOperationCommand) ProtoMessage

func (*ApplyAppOperationCommand) ProtoMessage()

func (*ApplyAppOperationCommand) ProtoReflect

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

func (*ApplyAppOperationCommand) Reset

func (x *ApplyAppOperationCommand) Reset()

func (*ApplyAppOperationCommand) String

func (x *ApplyAppOperationCommand) String() string

type ApplyAppOperationHandler

type ApplyAppOperationHandler func(orgId, namespace, name, operation string, selectorLabels map[string]string, minReadySeconds int64) error

type AvailabilityCheckAppResp

type AvailabilityCheckAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	Available     bool     `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

func (*AvailabilityCheckAppResp) Descriptor deprecated

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

Deprecated: Use AvailabilityCheckAppResp.ProtoReflect.Descriptor instead.

func (*AvailabilityCheckAppResp) GetAvailable

func (x *AvailabilityCheckAppResp) GetAvailable() bool

func (*AvailabilityCheckAppResp) GetErrorMessages

func (x *AvailabilityCheckAppResp) GetErrorMessages() []string

func (*AvailabilityCheckAppResp) GetSuccess

func (x *AvailabilityCheckAppResp) GetSuccess() bool

func (*AvailabilityCheckAppResp) ProtoMessage

func (*AvailabilityCheckAppResp) ProtoMessage()

func (*AvailabilityCheckAppResp) ProtoReflect

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

func (*AvailabilityCheckAppResp) Reset

func (x *AvailabilityCheckAppResp) Reset()

func (*AvailabilityCheckAppResp) String

func (x *AvailabilityCheckAppResp) String() string

type DeleteDeploymentReq

type DeleteDeploymentReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDeploymentReq) Descriptor deprecated

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

Deprecated: Use DeleteDeploymentReq.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentReq) GetName

func (x *DeleteDeploymentReq) GetName() string

func (*DeleteDeploymentReq) GetNamespace

func (x *DeleteDeploymentReq) GetNamespace() string

func (*DeleteDeploymentReq) GetOrgId

func (x *DeleteDeploymentReq) GetOrgId() string

func (*DeleteDeploymentReq) ProtoMessage

func (*DeleteDeploymentReq) ProtoMessage()

func (*DeleteDeploymentReq) ProtoReflect

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

func (*DeleteDeploymentReq) Reset

func (x *DeleteDeploymentReq) Reset()

func (*DeleteDeploymentReq) String

func (x *DeleteDeploymentReq) String() string

type DeleteDeploymentResp

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

func (*DeleteDeploymentResp) Descriptor deprecated

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

Deprecated: Use DeleteDeploymentResp.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentResp) ProtoMessage

func (*DeleteDeploymentResp) ProtoMessage()

func (*DeleteDeploymentResp) ProtoReflect

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

func (*DeleteDeploymentResp) Reset

func (x *DeleteDeploymentResp) Reset()

func (*DeleteDeploymentResp) String

func (x *DeleteDeploymentResp) String() string

type Deployment

type Deployment struct {
	Name      string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string            `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	Spec      *DeploymentSpec   `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
	Status    *DeploymentStatus `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetLabels

func (x *Deployment) GetLabels() map[string]string

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetNamespace

func (x *Deployment) GetNamespace() string

func (*Deployment) GetOrgId

func (x *Deployment) GetOrgId() string

func (*Deployment) GetSpec

func (x *Deployment) GetSpec() *DeploymentSpec

func (*Deployment) GetStatus

func (x *Deployment) GetStatus() *DeploymentStatus

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type DeploymentSpec

type DeploymentSpec struct {
	SelectorLabels    map[string]string   `` /* 169-byte string literal not displayed */
	AppCount          int64               `protobuf:"varint,2,opt,name=appCount,proto3" json:"appCount,omitempty"`
	RevisionLimit     int64               `protobuf:"varint,3,opt,name=revisionLimit,proto3" json:"revisionLimit,omitempty"`
	ResourceQuotas    map[string]float64  `` /* 171-byte string literal not displayed */
	Strategy          *DeploymentStrategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
	AppSpec           *AppSpec            `protobuf:"bytes,6,opt,name=appSpec,proto3" json:"appSpec,omitempty"`
	MinReadySeconds   int64               `protobuf:"varint,7,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"`
	DeadlineExceeded  int64               `protobuf:"varint,8,opt,name=deadlineExceeded,proto3" json:"deadlineExceeded,omitempty"`
	AutomaticRollback bool                `protobuf:"varint,9,opt,name=automaticRollback,proto3" json:"automaticRollback,omitempty"`
	Mode              string              `protobuf:"bytes,10,opt,name=mode,proto3" json:"mode,omitempty"`
	ReconcilePeriod   int64               `protobuf:"varint,11,opt,name=reconcilePeriod,proto3" json:"reconcilePeriod,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentSpec) Descriptor deprecated

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

Deprecated: Use DeploymentSpec.ProtoReflect.Descriptor instead.

func (*DeploymentSpec) GetAppCount

func (x *DeploymentSpec) GetAppCount() int64

func (*DeploymentSpec) GetAppSpec

func (x *DeploymentSpec) GetAppSpec() *AppSpec

func (*DeploymentSpec) GetAutomaticRollback

func (x *DeploymentSpec) GetAutomaticRollback() bool

func (*DeploymentSpec) GetDeadlineExceeded

func (x *DeploymentSpec) GetDeadlineExceeded() int64

func (*DeploymentSpec) GetMinReadySeconds

func (x *DeploymentSpec) GetMinReadySeconds() int64

func (*DeploymentSpec) GetMode

func (x *DeploymentSpec) GetMode() string

func (*DeploymentSpec) GetReconcilePeriod

func (x *DeploymentSpec) GetReconcilePeriod() int64

func (*DeploymentSpec) GetResourceQuotas

func (x *DeploymentSpec) GetResourceQuotas() map[string]float64

func (*DeploymentSpec) GetRevisionLimit

func (x *DeploymentSpec) GetRevisionLimit() int64

func (*DeploymentSpec) GetSelectorLabels

func (x *DeploymentSpec) GetSelectorLabels() map[string]string

func (*DeploymentSpec) GetStrategy

func (x *DeploymentSpec) GetStrategy() *DeploymentStrategy

func (*DeploymentSpec) ProtoMessage

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) ProtoReflect

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

func (*DeploymentSpec) Reset

func (x *DeploymentSpec) Reset()

func (*DeploymentSpec) String

func (x *DeploymentSpec) String() string

type DeploymentState

type DeploymentState struct {
	Type                    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Active                  bool   `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	LastUpdateTimestamp     int64  `protobuf:"varint,3,opt,name=lastUpdateTimestamp,proto3" json:"lastUpdateTimestamp,omitempty"`
	LastTransitionTimestamp int64  `protobuf:"varint,4,opt,name=lastTransitionTimestamp,proto3" json:"lastTransitionTimestamp,omitempty"`
	Message                 string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentState) Descriptor deprecated

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

Deprecated: Use DeploymentState.ProtoReflect.Descriptor instead.

func (*DeploymentState) GetActive

func (x *DeploymentState) GetActive() bool

func (*DeploymentState) GetLastTransitionTimestamp

func (x *DeploymentState) GetLastTransitionTimestamp() int64

func (*DeploymentState) GetLastUpdateTimestamp

func (x *DeploymentState) GetLastUpdateTimestamp() int64

func (*DeploymentState) GetMessage

func (x *DeploymentState) GetMessage() string

func (*DeploymentState) GetType

func (x *DeploymentState) GetType() string

func (*DeploymentState) ProtoMessage

func (*DeploymentState) ProtoMessage()

func (*DeploymentState) ProtoReflect

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

func (*DeploymentState) Reset

func (x *DeploymentState) Reset()

func (*DeploymentState) String

func (x *DeploymentState) String() string

type DeploymentStatus

type DeploymentStatus struct {
	TotalAppCount       int64                       `protobuf:"varint,1,opt,name=totalAppCount,proto3" json:"totalAppCount,omitempty"`
	UpdatedAppCount     int64                       `protobuf:"varint,2,opt,name=updatedAppCount,proto3" json:"updatedAppCount,omitempty"`
	ReadyAppCount       int64                       `protobuf:"varint,3,opt,name=readyAppCount,proto3" json:"readyAppCount,omitempty"`
	AvailableAppCount   int64                       `protobuf:"varint,4,opt,name=availableAppCount,proto3" json:"availableAppCount,omitempty"`
	UnavailableAppCount int64                       `protobuf:"varint,5,opt,name=unavailableAppCount,proto3" json:"unavailableAppCount,omitempty"`
	States              map[string]*DeploymentState `` /* 153-byte string literal not displayed */
	Paused              bool                        `protobuf:"varint,7,opt,name=paused,proto3" json:"paused,omitempty"`
	Stopped             bool                        `protobuf:"varint,8,opt,name=stopped,proto3" json:"stopped,omitempty"`
	Deleted             bool                        `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentStatus) Descriptor deprecated

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

Deprecated: Use DeploymentStatus.ProtoReflect.Descriptor instead.

func (*DeploymentStatus) GetAvailableAppCount

func (x *DeploymentStatus) GetAvailableAppCount() int64

func (*DeploymentStatus) GetDeleted

func (x *DeploymentStatus) GetDeleted() bool

func (*DeploymentStatus) GetPaused

func (x *DeploymentStatus) GetPaused() bool

func (*DeploymentStatus) GetReadyAppCount

func (x *DeploymentStatus) GetReadyAppCount() int64

func (*DeploymentStatus) GetStates

func (x *DeploymentStatus) GetStates() map[string]*DeploymentState

func (*DeploymentStatus) GetStopped

func (x *DeploymentStatus) GetStopped() bool

func (*DeploymentStatus) GetTotalAppCount

func (x *DeploymentStatus) GetTotalAppCount() int64

func (*DeploymentStatus) GetUnavailableAppCount

func (x *DeploymentStatus) GetUnavailableAppCount() int64

func (*DeploymentStatus) GetUpdatedAppCount

func (x *DeploymentStatus) GetUpdatedAppCount() int64

func (*DeploymentStatus) ProtoMessage

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) ProtoReflect

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

func (*DeploymentStatus) Reset

func (x *DeploymentStatus) Reset()

func (*DeploymentStatus) String

func (x *DeploymentStatus) String() string

type DeploymentStrategy

type DeploymentStrategy struct {
	Type          string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	RollingUpdate *RollingUpdate `protobuf:"bytes,2,opt,name=rollingUpdate,proto3,oneof" json:"rollingUpdate,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentStrategy) Descriptor deprecated

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

Deprecated: Use DeploymentStrategy.ProtoReflect.Descriptor instead.

func (*DeploymentStrategy) GetRollingUpdate

func (x *DeploymentStrategy) GetRollingUpdate() *RollingUpdate

func (*DeploymentStrategy) GetType

func (x *DeploymentStrategy) GetType() string

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) ProtoReflect

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

func (*DeploymentStrategy) Reset

func (x *DeploymentStrategy) Reset()

func (*DeploymentStrategy) String

func (x *DeploymentStrategy) String() string

type GetDeploymentOwnedRevisionsReq

type GetDeploymentOwnedRevisionsReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentOwnedRevisionsReq) Descriptor deprecated

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

Deprecated: Use GetDeploymentOwnedRevisionsReq.ProtoReflect.Descriptor instead.

func (*GetDeploymentOwnedRevisionsReq) GetName

func (*GetDeploymentOwnedRevisionsReq) GetNamespace

func (x *GetDeploymentOwnedRevisionsReq) GetNamespace() string

func (*GetDeploymentOwnedRevisionsReq) GetOrgId

func (x *GetDeploymentOwnedRevisionsReq) GetOrgId() string

func (*GetDeploymentOwnedRevisionsReq) ProtoMessage

func (*GetDeploymentOwnedRevisionsReq) ProtoMessage()

func (*GetDeploymentOwnedRevisionsReq) ProtoReflect

func (*GetDeploymentOwnedRevisionsReq) Reset

func (x *GetDeploymentOwnedRevisionsReq) Reset()

func (*GetDeploymentOwnedRevisionsReq) String

type GetDeploymentOwnedRevisionsResp

type GetDeploymentOwnedRevisionsResp struct {
	Revisions []*Revision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentOwnedRevisionsResp) Descriptor deprecated

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

Deprecated: Use GetDeploymentOwnedRevisionsResp.ProtoReflect.Descriptor instead.

func (*GetDeploymentOwnedRevisionsResp) GetRevisions

func (x *GetDeploymentOwnedRevisionsResp) GetRevisions() []*Revision

func (*GetDeploymentOwnedRevisionsResp) ProtoMessage

func (*GetDeploymentOwnedRevisionsResp) ProtoMessage()

func (*GetDeploymentOwnedRevisionsResp) ProtoReflect

func (*GetDeploymentOwnedRevisionsResp) Reset

func (*GetDeploymentOwnedRevisionsResp) String

type GetDeploymentReq

type GetDeploymentReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentReq) Descriptor deprecated

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

Deprecated: Use GetDeploymentReq.ProtoReflect.Descriptor instead.

func (*GetDeploymentReq) GetName

func (x *GetDeploymentReq) GetName() string

func (*GetDeploymentReq) GetNamespace

func (x *GetDeploymentReq) GetNamespace() string

func (*GetDeploymentReq) GetOrgId

func (x *GetDeploymentReq) GetOrgId() string

func (*GetDeploymentReq) ProtoMessage

func (*GetDeploymentReq) ProtoMessage()

func (*GetDeploymentReq) ProtoReflect

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

func (*GetDeploymentReq) Reset

func (x *GetDeploymentReq) Reset()

func (*GetDeploymentReq) String

func (x *GetDeploymentReq) String() string

type GetDeploymentResp

type GetDeploymentResp struct {
	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentResp) Descriptor deprecated

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

Deprecated: Use GetDeploymentResp.ProtoReflect.Descriptor instead.

func (*GetDeploymentResp) GetDeployment

func (x *GetDeploymentResp) GetDeployment() *Deployment

func (*GetDeploymentResp) ProtoMessage

func (*GetDeploymentResp) ProtoMessage()

func (*GetDeploymentResp) ProtoReflect

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

func (*GetDeploymentResp) Reset

func (x *GetDeploymentResp) Reset()

func (*GetDeploymentResp) String

func (x *GetDeploymentResp) String() string

type GetNewRevisionReq

type GetNewRevisionReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNewRevisionReq) Descriptor deprecated

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

Deprecated: Use GetNewRevisionReq.ProtoReflect.Descriptor instead.

func (*GetNewRevisionReq) GetName

func (x *GetNewRevisionReq) GetName() string

func (*GetNewRevisionReq) GetNamespace

func (x *GetNewRevisionReq) GetNamespace() string

func (*GetNewRevisionReq) GetOrgId

func (x *GetNewRevisionReq) GetOrgId() string

func (*GetNewRevisionReq) ProtoMessage

func (*GetNewRevisionReq) ProtoMessage()

func (*GetNewRevisionReq) ProtoReflect

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

func (*GetNewRevisionReq) Reset

func (x *GetNewRevisionReq) Reset()

func (*GetNewRevisionReq) String

func (x *GetNewRevisionReq) String() string

type GetNewRevisionResp

type GetNewRevisionResp struct {
	Revision *Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNewRevisionResp) Descriptor deprecated

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

Deprecated: Use GetNewRevisionResp.ProtoReflect.Descriptor instead.

func (*GetNewRevisionResp) GetRevision

func (x *GetNewRevisionResp) GetRevision() *Revision

func (*GetNewRevisionResp) ProtoMessage

func (*GetNewRevisionResp) ProtoMessage()

func (*GetNewRevisionResp) ProtoReflect

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

func (*GetNewRevisionResp) Reset

func (x *GetNewRevisionResp) Reset()

func (*GetNewRevisionResp) String

func (x *GetNewRevisionResp) String() string

type HealthCheckAppResp

type HealthCheckAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	Healthy       bool     `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckAppResp) Descriptor deprecated

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

Deprecated: Use HealthCheckAppResp.ProtoReflect.Descriptor instead.

func (*HealthCheckAppResp) GetErrorMessages

func (x *HealthCheckAppResp) GetErrorMessages() []string

func (*HealthCheckAppResp) GetHealthy

func (x *HealthCheckAppResp) GetHealthy() bool

func (*HealthCheckAppResp) GetSuccess

func (x *HealthCheckAppResp) GetSuccess() bool

func (*HealthCheckAppResp) ProtoMessage

func (*HealthCheckAppResp) ProtoMessage()

func (*HealthCheckAppResp) ProtoReflect

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

func (*HealthCheckAppResp) Reset

func (x *HealthCheckAppResp) Reset()

func (*HealthCheckAppResp) String

func (x *HealthCheckAppResp) String() string

type PauseDeploymentReq

type PauseDeploymentReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseDeploymentReq) Descriptor deprecated

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

Deprecated: Use PauseDeploymentReq.ProtoReflect.Descriptor instead.

func (*PauseDeploymentReq) GetName

func (x *PauseDeploymentReq) GetName() string

func (*PauseDeploymentReq) GetNamespace

func (x *PauseDeploymentReq) GetNamespace() string

func (*PauseDeploymentReq) GetOrgId

func (x *PauseDeploymentReq) GetOrgId() string

func (*PauseDeploymentReq) ProtoMessage

func (*PauseDeploymentReq) ProtoMessage()

func (*PauseDeploymentReq) ProtoReflect

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

func (*PauseDeploymentReq) Reset

func (x *PauseDeploymentReq) Reset()

func (*PauseDeploymentReq) String

func (x *PauseDeploymentReq) String() string

type PauseDeploymentResp

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

func (*PauseDeploymentResp) Descriptor deprecated

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

Deprecated: Use PauseDeploymentResp.ProtoReflect.Descriptor instead.

func (*PauseDeploymentResp) ProtoMessage

func (*PauseDeploymentResp) ProtoMessage()

func (*PauseDeploymentResp) ProtoReflect

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

func (*PauseDeploymentResp) Reset

func (x *PauseDeploymentResp) Reset()

func (*PauseDeploymentResp) String

func (x *PauseDeploymentResp) String() string

type PutDeploymentReq

type PutDeploymentReq struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string                 `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	Labels    map[string]string      `` /* 153-byte string literal not displayed */
	Spec      *PutDeploymentReq_Spec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*PutDeploymentReq) Descriptor deprecated

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

Deprecated: Use PutDeploymentReq.ProtoReflect.Descriptor instead.

func (*PutDeploymentReq) GetLabels

func (x *PutDeploymentReq) GetLabels() map[string]string

func (*PutDeploymentReq) GetName

func (x *PutDeploymentReq) GetName() string

func (*PutDeploymentReq) GetNamespace

func (x *PutDeploymentReq) GetNamespace() string

func (*PutDeploymentReq) GetOrgId

func (x *PutDeploymentReq) GetOrgId() string

func (*PutDeploymentReq) GetSpec

func (*PutDeploymentReq) ProtoMessage

func (*PutDeploymentReq) ProtoMessage()

func (*PutDeploymentReq) ProtoReflect

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

func (*PutDeploymentReq) Reset

func (x *PutDeploymentReq) Reset()

func (*PutDeploymentReq) String

func (x *PutDeploymentReq) String() string

type PutDeploymentReq_Spec

type PutDeploymentReq_Spec struct {
	SelectorLabels    map[string]string          `` /* 169-byte string literal not displayed */
	AppCount          int64                      `protobuf:"varint,2,opt,name=appCount,proto3" json:"appCount,omitempty"`
	RevisionLimit     *int64                     `protobuf:"varint,3,opt,name=revisionLimit,proto3,oneof" json:"revisionLimit,omitempty"`
	Strategy          *DeploymentStrategy        `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
	App               *PutDeploymentReq_Spec_App `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"`
	MinReadySeconds   int64                      `protobuf:"varint,6,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"`
	DeadlineExceeded  int64                      `protobuf:"varint,7,opt,name=deadlineExceeded,proto3" json:"deadlineExceeded,omitempty"`
	AutomaticRollback *bool                      `protobuf:"varint,8,opt,name=automaticRollback,proto3,oneof" json:"automaticRollback,omitempty"`
	Mode              string                     `protobuf:"bytes,9,opt,name=mode,proto3" json:"mode,omitempty"`
	ReconcilePeriod   *int64                     `protobuf:"varint,10,opt,name=reconcilePeriod,proto3,oneof" json:"reconcilePeriod,omitempty"`
	// contains filtered or unexported fields
}

func (*PutDeploymentReq_Spec) Descriptor deprecated

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

Deprecated: Use PutDeploymentReq_Spec.ProtoReflect.Descriptor instead.

func (*PutDeploymentReq_Spec) GetApp

func (*PutDeploymentReq_Spec) GetAppCount

func (x *PutDeploymentReq_Spec) GetAppCount() int64

func (*PutDeploymentReq_Spec) GetAutomaticRollback

func (x *PutDeploymentReq_Spec) GetAutomaticRollback() bool

func (*PutDeploymentReq_Spec) GetDeadlineExceeded

func (x *PutDeploymentReq_Spec) GetDeadlineExceeded() int64

func (*PutDeploymentReq_Spec) GetMinReadySeconds

func (x *PutDeploymentReq_Spec) GetMinReadySeconds() int64

func (*PutDeploymentReq_Spec) GetMode

func (x *PutDeploymentReq_Spec) GetMode() string

func (*PutDeploymentReq_Spec) GetReconcilePeriod

func (x *PutDeploymentReq_Spec) GetReconcilePeriod() int64

func (*PutDeploymentReq_Spec) GetRevisionLimit

func (x *PutDeploymentReq_Spec) GetRevisionLimit() int64

func (*PutDeploymentReq_Spec) GetSelectorLabels

func (x *PutDeploymentReq_Spec) GetSelectorLabels() map[string]string

func (*PutDeploymentReq_Spec) GetStrategy

func (x *PutDeploymentReq_Spec) GetStrategy() *DeploymentStrategy

func (*PutDeploymentReq_Spec) ProtoMessage

func (*PutDeploymentReq_Spec) ProtoMessage()

func (*PutDeploymentReq_Spec) ProtoReflect

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

func (*PutDeploymentReq_Spec) Reset

func (x *PutDeploymentReq_Spec) Reset()

func (*PutDeploymentReq_Spec) String

func (x *PutDeploymentReq_Spec) String() string

type PutDeploymentReq_Spec_App

type PutDeploymentReq_Spec_App struct {
	Name                      string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Quotas                    map[string]float64 `` /* 155-byte string literal not displayed */
	Profile                   *SeccompProf       `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	SeccompDefinitionStrategy string             `protobuf:"bytes,4,opt,name=seccompDefinitionStrategy,proto3" json:"seccompDefinitionStrategy,omitempty"`
	// contains filtered or unexported fields
}

func (*PutDeploymentReq_Spec_App) Descriptor deprecated

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

Deprecated: Use PutDeploymentReq_Spec_App.ProtoReflect.Descriptor instead.

func (*PutDeploymentReq_Spec_App) GetName

func (x *PutDeploymentReq_Spec_App) GetName() string

func (*PutDeploymentReq_Spec_App) GetProfile

func (x *PutDeploymentReq_Spec_App) GetProfile() *SeccompProf

func (*PutDeploymentReq_Spec_App) GetQuotas

func (x *PutDeploymentReq_Spec_App) GetQuotas() map[string]float64

func (*PutDeploymentReq_Spec_App) GetSeccompDefinitionStrategy

func (x *PutDeploymentReq_Spec_App) GetSeccompDefinitionStrategy() string

func (*PutDeploymentReq_Spec_App) ProtoMessage

func (*PutDeploymentReq_Spec_App) ProtoMessage()

func (*PutDeploymentReq_Spec_App) ProtoReflect

func (*PutDeploymentReq_Spec_App) Reset

func (x *PutDeploymentReq_Spec_App) Reset()

func (*PutDeploymentReq_Spec_App) String

func (x *PutDeploymentReq_Spec_App) String() string

type PutDeploymentResp

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

func (*PutDeploymentResp) Descriptor deprecated

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

Deprecated: Use PutDeploymentResp.ProtoReflect.Descriptor instead.

func (*PutDeploymentResp) ProtoMessage

func (*PutDeploymentResp) ProtoMessage()

func (*PutDeploymentResp) ProtoReflect

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

func (*PutDeploymentResp) Reset

func (x *PutDeploymentResp) Reset()

func (*PutDeploymentResp) String

func (x *PutDeploymentResp) String() string

type QueryAllAppResp

type QueryAllAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	TotalApps     []*App   `protobuf:"bytes,3,rep,name=totalApps,proto3" json:"totalApps,omitempty"`
	ReadyApps     []*App   `protobuf:"bytes,4,rep,name=readyApps,proto3" json:"readyApps,omitempty"`
	AvailableApps []*App   `protobuf:"bytes,5,rep,name=availableApps,proto3" json:"availableApps,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllAppResp) Descriptor deprecated

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

Deprecated: Use QueryAllAppResp.ProtoReflect.Descriptor instead.

func (*QueryAllAppResp) GetAvailableApps

func (x *QueryAllAppResp) GetAvailableApps() []*App

func (*QueryAllAppResp) GetErrorMessages

func (x *QueryAllAppResp) GetErrorMessages() []string

func (*QueryAllAppResp) GetReadyApps

func (x *QueryAllAppResp) GetReadyApps() []*App

func (*QueryAllAppResp) GetSuccess

func (x *QueryAllAppResp) GetSuccess() bool

func (*QueryAllAppResp) GetTotalApps

func (x *QueryAllAppResp) GetTotalApps() []*App

func (*QueryAllAppResp) ProtoMessage

func (*QueryAllAppResp) ProtoMessage()

func (*QueryAllAppResp) ProtoReflect

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

func (*QueryAllAppResp) Reset

func (x *QueryAllAppResp) Reset()

func (*QueryAllAppResp) String

func (x *QueryAllAppResp) String() string

type QueryAppResp

type QueryAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	Apps          []*App   `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAppResp) Descriptor deprecated

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

Deprecated: Use QueryAppResp.ProtoReflect.Descriptor instead.

func (*QueryAppResp) GetApps

func (x *QueryAppResp) GetApps() []*App

func (*QueryAppResp) GetErrorMessages

func (x *QueryAppResp) GetErrorMessages() []string

func (*QueryAppResp) GetSuccess

func (x *QueryAppResp) GetSuccess() bool

func (*QueryAppResp) ProtoMessage

func (*QueryAppResp) ProtoMessage()

func (*QueryAppResp) ProtoReflect

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

func (*QueryAppResp) Reset

func (x *QueryAppResp) Reset()

func (*QueryAppResp) String

func (x *QueryAppResp) String() string

type Revision

type Revision struct {
	Name              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace         string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId             string            `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	CreationTimestamp int64             `protobuf:"varint,4,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"`
	Labels            map[string]string `` /* 153-byte string literal not displayed */
	Spec              *RevisionSpec     `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*Revision) Descriptor deprecated

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

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetCreationTimestamp

func (x *Revision) GetCreationTimestamp() int64

func (*Revision) GetLabels

func (x *Revision) GetLabels() map[string]string

func (*Revision) GetName

func (x *Revision) GetName() string

func (*Revision) GetNamespace

func (x *Revision) GetNamespace() string

func (*Revision) GetOrgId

func (x *Revision) GetOrgId() string

func (*Revision) GetSpec

func (x *Revision) GetSpec() *RevisionSpec

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) ProtoReflect

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

func (*Revision) Reset

func (x *Revision) Reset()

func (*Revision) String

func (x *Revision) String() string

type RevisionInfo

type RevisionInfo struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RevisionInfo) Descriptor deprecated

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

Deprecated: Use RevisionInfo.ProtoReflect.Descriptor instead.

func (*RevisionInfo) GetName

func (x *RevisionInfo) GetName() string

func (*RevisionInfo) ProtoMessage

func (*RevisionInfo) ProtoMessage()

func (*RevisionInfo) ProtoReflect

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

func (*RevisionInfo) Reset

func (x *RevisionInfo) Reset()

func (*RevisionInfo) String

func (x *RevisionInfo) String() string

type RevisionSpec

type RevisionSpec struct {
	SelectorLabels map[string]string `` /* 169-byte string literal not displayed */
	AppSpec        *AppSpec          `protobuf:"bytes,2,opt,name=appSpec,proto3" json:"appSpec,omitempty"`
	// contains filtered or unexported fields
}

func (*RevisionSpec) Descriptor deprecated

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

Deprecated: Use RevisionSpec.ProtoReflect.Descriptor instead.

func (*RevisionSpec) GetAppSpec

func (x *RevisionSpec) GetAppSpec() *AppSpec

func (*RevisionSpec) GetSelectorLabels

func (x *RevisionSpec) GetSelectorLabels() map[string]string

func (*RevisionSpec) ProtoMessage

func (*RevisionSpec) ProtoMessage()

func (*RevisionSpec) ProtoReflect

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

func (*RevisionSpec) Reset

func (x *RevisionSpec) Reset()

func (*RevisionSpec) String

func (x *RevisionSpec) String() string

type RollbackRevisionReq

type RollbackRevisionReq struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace    string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId        string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	RevisionName string `protobuf:"bytes,4,opt,name=revisionName,proto3" json:"revisionName,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackRevisionReq) Descriptor deprecated

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

Deprecated: Use RollbackRevisionReq.ProtoReflect.Descriptor instead.

func (*RollbackRevisionReq) GetName

func (x *RollbackRevisionReq) GetName() string

func (*RollbackRevisionReq) GetNamespace

func (x *RollbackRevisionReq) GetNamespace() string

func (*RollbackRevisionReq) GetOrgId

func (x *RollbackRevisionReq) GetOrgId() string

func (*RollbackRevisionReq) GetRevisionName

func (x *RollbackRevisionReq) GetRevisionName() string

func (*RollbackRevisionReq) ProtoMessage

func (*RollbackRevisionReq) ProtoMessage()

func (*RollbackRevisionReq) ProtoReflect

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

func (*RollbackRevisionReq) Reset

func (x *RollbackRevisionReq) Reset()

func (*RollbackRevisionReq) String

func (x *RollbackRevisionReq) String() string

type RollbackRevisionResp

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

func (*RollbackRevisionResp) Descriptor deprecated

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

Deprecated: Use RollbackRevisionResp.ProtoReflect.Descriptor instead.

func (*RollbackRevisionResp) ProtoMessage

func (*RollbackRevisionResp) ProtoMessage()

func (*RollbackRevisionResp) ProtoReflect

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

func (*RollbackRevisionResp) Reset

func (x *RollbackRevisionResp) Reset()

func (*RollbackRevisionResp) String

func (x *RollbackRevisionResp) String() string

type RollingUpdate

type RollingUpdate struct {
	MaxUnavailable *int64 `protobuf:"varint,1,opt,name=maxUnavailable,proto3,oneof" json:"maxUnavailable,omitempty"`
	MaxSurge       *int64 `protobuf:"varint,2,opt,name=maxSurge,proto3,oneof" json:"maxSurge,omitempty"`
	// contains filtered or unexported fields
}

func (*RollingUpdate) Descriptor deprecated

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

Deprecated: Use RollingUpdate.ProtoReflect.Descriptor instead.

func (*RollingUpdate) GetMaxSurge

func (x *RollingUpdate) GetMaxSurge() int64

func (*RollingUpdate) GetMaxUnavailable

func (x *RollingUpdate) GetMaxUnavailable() int64

func (*RollingUpdate) ProtoMessage

func (*RollingUpdate) ProtoMessage()

func (*RollingUpdate) ProtoReflect

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

func (*RollingUpdate) Reset

func (x *RollingUpdate) Reset()

func (*RollingUpdate) String

func (x *RollingUpdate) String() string

type SeccompProf

type SeccompProf struct {
	Version       string          `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	DefaultAction string          `protobuf:"bytes,3,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"`
	Syscalls      []*SyscallRules `protobuf:"bytes,4,rep,name=syscalls,proto3" json:"syscalls,omitempty"`
	// contains filtered or unexported fields
}

func (*SeccompProf) Descriptor deprecated

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

Deprecated: Use SeccompProf.ProtoReflect.Descriptor instead.

func (*SeccompProf) GetDefaultAction

func (x *SeccompProf) GetDefaultAction() string

func (*SeccompProf) GetSyscalls

func (x *SeccompProf) GetSyscalls() []*SyscallRules

func (*SeccompProf) GetVersion

func (x *SeccompProf) GetVersion() string

func (*SeccompProf) ProtoMessage

func (*SeccompProf) ProtoMessage()

func (*SeccompProf) ProtoReflect

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

func (*SeccompProf) Reset

func (x *SeccompProf) Reset()

func (*SeccompProf) String

func (x *SeccompProf) String() string

type StartAppResp

type StartAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	// contains filtered or unexported fields
}

func (*StartAppResp) Descriptor deprecated

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

Deprecated: Use StartAppResp.ProtoReflect.Descriptor instead.

func (*StartAppResp) GetErrorMessages

func (x *StartAppResp) GetErrorMessages() []string

func (*StartAppResp) GetSuccess

func (x *StartAppResp) GetSuccess() bool

func (*StartAppResp) ProtoMessage

func (*StartAppResp) ProtoMessage()

func (*StartAppResp) ProtoReflect

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

func (*StartAppResp) Reset

func (x *StartAppResp) Reset()

func (*StartAppResp) String

func (x *StartAppResp) String() string

type StopAppResp

type StopAppResp struct {
	Success       bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessages []string `protobuf:"bytes,2,rep,name=errorMessages,proto3" json:"errorMessages,omitempty"`
	// contains filtered or unexported fields
}

func (*StopAppResp) Descriptor deprecated

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

Deprecated: Use StopAppResp.ProtoReflect.Descriptor instead.

func (*StopAppResp) GetErrorMessages

func (x *StopAppResp) GetErrorMessages() []string

func (*StopAppResp) GetSuccess

func (x *StopAppResp) GetSuccess() bool

func (*StopAppResp) ProtoMessage

func (*StopAppResp) ProtoMessage()

func (*StopAppResp) ProtoReflect

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

func (*StopAppResp) Reset

func (x *StopAppResp) Reset()

func (*StopAppResp) String

func (x *StopAppResp) String() string

type StopDeploymentReq

type StopDeploymentReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*StopDeploymentReq) Descriptor deprecated

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

Deprecated: Use StopDeploymentReq.ProtoReflect.Descriptor instead.

func (*StopDeploymentReq) GetName

func (x *StopDeploymentReq) GetName() string

func (*StopDeploymentReq) GetNamespace

func (x *StopDeploymentReq) GetNamespace() string

func (*StopDeploymentReq) GetOrgId

func (x *StopDeploymentReq) GetOrgId() string

func (*StopDeploymentReq) ProtoMessage

func (*StopDeploymentReq) ProtoMessage()

func (*StopDeploymentReq) ProtoReflect

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

func (*StopDeploymentReq) Reset

func (x *StopDeploymentReq) Reset()

func (*StopDeploymentReq) String

func (x *StopDeploymentReq) String() string

type StopDeploymentResp

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

func (*StopDeploymentResp) Descriptor deprecated

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

Deprecated: Use StopDeploymentResp.ProtoReflect.Descriptor instead.

func (*StopDeploymentResp) ProtoMessage

func (*StopDeploymentResp) ProtoMessage()

func (*StopDeploymentResp) ProtoReflect

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

func (*StopDeploymentResp) Reset

func (x *StopDeploymentResp) Reset()

func (*StopDeploymentResp) String

func (x *StopDeploymentResp) String() string

type SyscallRules

type SyscallRules struct {
	Names  []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Action string   `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*SyscallRules) Descriptor deprecated

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

Deprecated: Use SyscallRules.ProtoReflect.Descriptor instead.

func (*SyscallRules) GetAction

func (x *SyscallRules) GetAction() string

func (*SyscallRules) GetNames

func (x *SyscallRules) GetNames() []string

func (*SyscallRules) ProtoMessage

func (*SyscallRules) ProtoMessage()

func (*SyscallRules) ProtoReflect

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

func (*SyscallRules) Reset

func (x *SyscallRules) Reset()

func (*SyscallRules) String

func (x *SyscallRules) String() string

type TaskResponse

type TaskResponse struct {
	Payload   map[string]*anypb.Any `` /* 155-byte string literal not displayed */
	ErrorMsg  string                `protobuf:"bytes,2,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"`
	ErrorType string                `protobuf:"bytes,3,opt,name=errorType,proto3" json:"errorType,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskResponse) Descriptor deprecated

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

Deprecated: Use TaskResponse.ProtoReflect.Descriptor instead.

func (*TaskResponse) GetErrorMsg

func (x *TaskResponse) GetErrorMsg() string

func (*TaskResponse) GetErrorType

func (x *TaskResponse) GetErrorType() string

func (*TaskResponse) GetPayload

func (x *TaskResponse) GetPayload() map[string]*anypb.Any

func (*TaskResponse) ProtoMessage

func (*TaskResponse) ProtoMessage()

func (*TaskResponse) ProtoReflect

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

func (*TaskResponse) Reset

func (x *TaskResponse) Reset()

func (*TaskResponse) String

func (x *TaskResponse) String() string

type UnimplementedUpdateServiceServer

type UnimplementedUpdateServiceServer struct{}

UnimplementedUpdateServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUpdateServiceServer) DeleteDeployment

func (UnimplementedUpdateServiceServer) GetDeployment

func (UnimplementedUpdateServiceServer) GetNewRevision

func (UnimplementedUpdateServiceServer) PauseDeployment

func (UnimplementedUpdateServiceServer) PutDeployment

func (UnimplementedUpdateServiceServer) RollbackRevision

func (UnimplementedUpdateServiceServer) StopDeployment

func (UnimplementedUpdateServiceServer) UnpauseDeployment

type UnpauseDeploymentReq

type UnpauseDeploymentReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OrgId     string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*UnpauseDeploymentReq) Descriptor deprecated

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

Deprecated: Use UnpauseDeploymentReq.ProtoReflect.Descriptor instead.

func (*UnpauseDeploymentReq) GetName

func (x *UnpauseDeploymentReq) GetName() string

func (*UnpauseDeploymentReq) GetNamespace

func (x *UnpauseDeploymentReq) GetNamespace() string

func (*UnpauseDeploymentReq) GetOrgId

func (x *UnpauseDeploymentReq) GetOrgId() string

func (*UnpauseDeploymentReq) ProtoMessage

func (*UnpauseDeploymentReq) ProtoMessage()

func (*UnpauseDeploymentReq) ProtoReflect

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

func (*UnpauseDeploymentReq) Reset

func (x *UnpauseDeploymentReq) Reset()

func (*UnpauseDeploymentReq) String

func (x *UnpauseDeploymentReq) String() string

type UnpauseDeploymentResp

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

func (*UnpauseDeploymentResp) Descriptor deprecated

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

Deprecated: Use UnpauseDeploymentResp.ProtoReflect.Descriptor instead.

func (*UnpauseDeploymentResp) ProtoMessage

func (*UnpauseDeploymentResp) ProtoMessage()

func (*UnpauseDeploymentResp) ProtoReflect

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

func (*UnpauseDeploymentResp) Reset

func (x *UnpauseDeploymentResp) Reset()

func (*UnpauseDeploymentResp) String

func (x *UnpauseDeploymentResp) String() string

type UnsafeUpdateServiceServer

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

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

type UpdateServiceAsyncClient

type UpdateServiceAsyncClient struct {
	Subscriber messaging.Subsriber
	Publisher  messaging.Publisher
}

func NewUpdateServiceAsyncClient

func NewUpdateServiceAsyncClient(address, nodeId string) (*UpdateServiceAsyncClient, error)

func (*UpdateServiceAsyncClient) GracefulStop

func (c *UpdateServiceAsyncClient) GracefulStop()

func (*UpdateServiceAsyncClient) ReceiveAppOperation

func (c *UpdateServiceAsyncClient) ReceiveAppOperation(handler ApplyAppOperationHandler) error

type UpdateServiceClient

type UpdateServiceClient interface {
	PutDeployment(ctx context.Context, in *PutDeploymentReq, opts ...grpc.CallOption) (*PutDeploymentResp, error)
	GetDeployment(ctx context.Context, in *GetDeploymentReq, opts ...grpc.CallOption) (*GetDeploymentResp, error)
	GetDeploymentOwnedRevisions(ctx context.Context, in *GetDeploymentOwnedRevisionsReq, opts ...grpc.CallOption) (*GetDeploymentOwnedRevisionsResp, error)
	GetNewRevision(ctx context.Context, in *GetNewRevisionReq, opts ...grpc.CallOption) (*GetNewRevisionResp, error)
	RollbackRevision(ctx context.Context, in *RollbackRevisionReq, opts ...grpc.CallOption) (*RollbackRevisionResp, error)
	PauseDeployment(ctx context.Context, in *PauseDeploymentReq, opts ...grpc.CallOption) (*PauseDeploymentResp, error)
	UnpauseDeployment(ctx context.Context, in *UnpauseDeploymentReq, opts ...grpc.CallOption) (*UnpauseDeploymentResp, error)
	StopDeployment(ctx context.Context, in *StopDeploymentReq, opts ...grpc.CallOption) (*StopDeploymentResp, error)
	DeleteDeployment(ctx context.Context, in *DeleteDeploymentReq, opts ...grpc.CallOption) (*DeleteDeploymentResp, error)
}

UpdateServiceClient is the client API for UpdateService 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 UpdateServiceServer

UpdateServiceServer is the server API for UpdateService service. All implementations must embed UnimplementedUpdateServiceServer for forward compatibility.

type WorkerTask

type WorkerTask struct {
	TaskType            string                `protobuf:"bytes,1,opt,name=taskType,proto3" json:"taskType,omitempty"`
	DeploymentName      string                `protobuf:"bytes,2,opt,name=deploymentName,proto3" json:"deploymentName,omitempty"`
	DeploymentNamespace string                `protobuf:"bytes,3,opt,name=deploymentNamespace,proto3" json:"deploymentNamespace,omitempty"`
	DeploymentOrgId     string                `protobuf:"bytes,4,opt,name=deploymentOrgId,proto3" json:"deploymentOrgId,omitempty"`
	Payload             map[string]*anypb.Any `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WorkerTask) Descriptor deprecated

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

Deprecated: Use WorkerTask.ProtoReflect.Descriptor instead.

func (*WorkerTask) GetDeploymentName

func (x *WorkerTask) GetDeploymentName() string

func (*WorkerTask) GetDeploymentNamespace

func (x *WorkerTask) GetDeploymentNamespace() string

func (*WorkerTask) GetDeploymentOrgId

func (x *WorkerTask) GetDeploymentOrgId() string

func (*WorkerTask) GetPayload

func (x *WorkerTask) GetPayload() map[string]*anypb.Any

func (*WorkerTask) GetTaskType

func (x *WorkerTask) GetTaskType() string

func (*WorkerTask) ProtoMessage

func (*WorkerTask) ProtoMessage()

func (*WorkerTask) ProtoReflect

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

func (*WorkerTask) Reset

func (x *WorkerTask) Reset()

func (*WorkerTask) String

func (x *WorkerTask) String() string

Jump to

Keyboard shortcuts

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