rudder

package
v2.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package rudder is a generated protocol buffer package.

It is generated from these files:

hapi/rudder/rudder.proto

It has these top-level messages:

Result
VersionReleaseRequest
VersionReleaseResponse
InstallReleaseRequest
InstallReleaseResponse
DeleteReleaseRequest
DeleteReleaseResponse
UpgradeReleaseRequest
UpgradeReleaseResponse
RollbackReleaseRequest
RollbackReleaseResponse
ReleaseStatusRequest
ReleaseStatusResponse

Index

Constants

This section is empty.

Variables

View Source
var Result_Status_name = map[int32]string{
	0: "UNKNOWN",
	1: "SUCCESS",
	2: "UNCHANGED",
	3: "ERROR",
}
View Source
var Result_Status_value = map[string]int32{
	"UNKNOWN":   0,
	"SUCCESS":   1,
	"UNCHANGED": 2,
	"ERROR":     3,
}

Functions

func RegisterReleaseModuleServiceServer

func RegisterReleaseModuleServiceServer(s *grpc.Server, srv ReleaseModuleServiceServer)

Types

type DeleteReleaseRequest

type DeleteReleaseRequest struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}

func (*DeleteReleaseRequest) Descriptor

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

func (*DeleteReleaseRequest) GetRelease

func (m *DeleteReleaseRequest) GetRelease() *hapi_release5.Release

func (*DeleteReleaseRequest) ProtoMessage

func (*DeleteReleaseRequest) ProtoMessage()

func (*DeleteReleaseRequest) Reset

func (m *DeleteReleaseRequest) Reset()

func (*DeleteReleaseRequest) String

func (m *DeleteReleaseRequest) String() string

type DeleteReleaseResponse

type DeleteReleaseResponse struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
	Result  *Result                `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
}

func (*DeleteReleaseResponse) Descriptor

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

func (*DeleteReleaseResponse) GetRelease

func (m *DeleteReleaseResponse) GetRelease() *hapi_release5.Release

func (*DeleteReleaseResponse) GetResult

func (m *DeleteReleaseResponse) GetResult() *Result

func (*DeleteReleaseResponse) ProtoMessage

func (*DeleteReleaseResponse) ProtoMessage()

func (*DeleteReleaseResponse) Reset

func (m *DeleteReleaseResponse) Reset()

func (*DeleteReleaseResponse) String

func (m *DeleteReleaseResponse) String() string

type InstallReleaseRequest

type InstallReleaseRequest struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}

func (*InstallReleaseRequest) Descriptor

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

func (*InstallReleaseRequest) GetRelease

func (m *InstallReleaseRequest) GetRelease() *hapi_release5.Release

func (*InstallReleaseRequest) ProtoMessage

func (*InstallReleaseRequest) ProtoMessage()

func (*InstallReleaseRequest) Reset

func (m *InstallReleaseRequest) Reset()

func (*InstallReleaseRequest) String

func (m *InstallReleaseRequest) String() string

type InstallReleaseResponse

type InstallReleaseResponse struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
	Result  *Result                `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
}

func (*InstallReleaseResponse) Descriptor

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

func (*InstallReleaseResponse) GetRelease

func (m *InstallReleaseResponse) GetRelease() *hapi_release5.Release

func (*InstallReleaseResponse) GetResult

func (m *InstallReleaseResponse) GetResult() *Result

func (*InstallReleaseResponse) ProtoMessage

func (*InstallReleaseResponse) ProtoMessage()

func (*InstallReleaseResponse) Reset

func (m *InstallReleaseResponse) Reset()

func (*InstallReleaseResponse) String

func (m *InstallReleaseResponse) String() string

type ReleaseModuleServiceClient

type ReleaseModuleServiceClient interface {
	Version(ctx context.Context, in *VersionReleaseRequest, opts ...grpc.CallOption) (*VersionReleaseResponse, error)
	// InstallRelease requests installation of a chart as a new release.
	InstallRelease(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*InstallReleaseResponse, error)
	// DeleteRelease requests deletion of a named release.
	DeleteRelease(ctx context.Context, in *DeleteReleaseRequest, opts ...grpc.CallOption) (*DeleteReleaseResponse, error)
	// RollbackRelease rolls back a release to a previous version.
	RollbackRelease(ctx context.Context, in *RollbackReleaseRequest, opts ...grpc.CallOption) (*RollbackReleaseResponse, error)
	// UpgradeRelease updates release content.
	UpgradeRelease(ctx context.Context, in *UpgradeReleaseRequest, opts ...grpc.CallOption) (*UpgradeReleaseResponse, error)
	// ReleaseStatus retrieves release status.
	ReleaseStatus(ctx context.Context, in *ReleaseStatusRequest, opts ...grpc.CallOption) (*ReleaseStatusResponse, error)
}

func NewReleaseModuleServiceClient

func NewReleaseModuleServiceClient(cc *grpc.ClientConn) ReleaseModuleServiceClient

type ReleaseModuleServiceServer

type ReleaseModuleServiceServer interface {
	Version(context.Context, *VersionReleaseRequest) (*VersionReleaseResponse, error)
	// InstallRelease requests installation of a chart as a new release.
	InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error)
	// DeleteRelease requests deletion of a named release.
	DeleteRelease(context.Context, *DeleteReleaseRequest) (*DeleteReleaseResponse, error)
	// RollbackRelease rolls back a release to a previous version.
	RollbackRelease(context.Context, *RollbackReleaseRequest) (*RollbackReleaseResponse, error)
	// UpgradeRelease updates release content.
	UpgradeRelease(context.Context, *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
	// ReleaseStatus retrieves release status.
	ReleaseStatus(context.Context, *ReleaseStatusRequest) (*ReleaseStatusResponse, error)
}

type ReleaseStatusRequest

type ReleaseStatusRequest struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}

func (*ReleaseStatusRequest) Descriptor

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

func (*ReleaseStatusRequest) GetRelease

func (m *ReleaseStatusRequest) GetRelease() *hapi_release5.Release

func (*ReleaseStatusRequest) ProtoMessage

func (*ReleaseStatusRequest) ProtoMessage()

func (*ReleaseStatusRequest) Reset

func (m *ReleaseStatusRequest) Reset()

func (*ReleaseStatusRequest) String

func (m *ReleaseStatusRequest) String() string

type ReleaseStatusResponse

type ReleaseStatusResponse struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
	Info    *hapi_release3.Info    `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
}

func (*ReleaseStatusResponse) Descriptor

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

func (*ReleaseStatusResponse) GetInfo

func (*ReleaseStatusResponse) GetRelease

func (m *ReleaseStatusResponse) GetRelease() *hapi_release5.Release

func (*ReleaseStatusResponse) ProtoMessage

func (*ReleaseStatusResponse) ProtoMessage()

func (*ReleaseStatusResponse) Reset

func (m *ReleaseStatusResponse) Reset()

func (*ReleaseStatusResponse) String

func (m *ReleaseStatusResponse) String() string

type Result

type Result struct {
	Info string   `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
	Log  []string `protobuf:"bytes,2,rep,name=log" json:"log,omitempty"`
}

func (*Result) Descriptor

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

func (*Result) GetInfo

func (m *Result) GetInfo() string

func (*Result) GetLog

func (m *Result) GetLog() []string

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) String

func (m *Result) String() string

type Result_Status

type Result_Status int32
const (
	// No status set
	Result_UNKNOWN Result_Status = 0
	// Operation was successful
	Result_SUCCESS Result_Status = 1
	// Operation had no results (e.g. upgrade identical, rollback to same, delete non-existent)
	Result_UNCHANGED Result_Status = 2
	// Operation failed
	Result_ERROR Result_Status = 3
)

func (Result_Status) EnumDescriptor

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

func (Result_Status) String

func (x Result_Status) String() string

type RollbackReleaseRequest

type RollbackReleaseRequest struct {
	Current  *hapi_release5.Release `protobuf:"bytes,1,opt,name=current" json:"current,omitempty"`
	Target   *hapi_release5.Release `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
	Timeout  int64                  `protobuf:"varint,3,opt,name=Timeout" json:"Timeout,omitempty"`
	Wait     bool                   `protobuf:"varint,4,opt,name=Wait" json:"Wait,omitempty"`
	Recreate bool                   `protobuf:"varint,5,opt,name=Recreate" json:"Recreate,omitempty"`
	Force    bool                   `protobuf:"varint,6,opt,name=Force" json:"Force,omitempty"`
}

func (*RollbackReleaseRequest) Descriptor

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

func (*RollbackReleaseRequest) GetCurrent

func (m *RollbackReleaseRequest) GetCurrent() *hapi_release5.Release

func (*RollbackReleaseRequest) GetForce

func (m *RollbackReleaseRequest) GetForce() bool

func (*RollbackReleaseRequest) GetRecreate

func (m *RollbackReleaseRequest) GetRecreate() bool

func (*RollbackReleaseRequest) GetTarget

func (*RollbackReleaseRequest) GetTimeout

func (m *RollbackReleaseRequest) GetTimeout() int64

func (*RollbackReleaseRequest) GetWait

func (m *RollbackReleaseRequest) GetWait() bool

func (*RollbackReleaseRequest) ProtoMessage

func (*RollbackReleaseRequest) ProtoMessage()

func (*RollbackReleaseRequest) Reset

func (m *RollbackReleaseRequest) Reset()

func (*RollbackReleaseRequest) String

func (m *RollbackReleaseRequest) String() string

type RollbackReleaseResponse

type RollbackReleaseResponse struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
	Result  *Result                `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
}

func (*RollbackReleaseResponse) Descriptor

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

func (*RollbackReleaseResponse) GetRelease

func (*RollbackReleaseResponse) GetResult

func (m *RollbackReleaseResponse) GetResult() *Result

func (*RollbackReleaseResponse) ProtoMessage

func (*RollbackReleaseResponse) ProtoMessage()

func (*RollbackReleaseResponse) Reset

func (m *RollbackReleaseResponse) Reset()

func (*RollbackReleaseResponse) String

func (m *RollbackReleaseResponse) String() string

type UpgradeReleaseRequest

type UpgradeReleaseRequest struct {
	Current  *hapi_release5.Release `protobuf:"bytes,1,opt,name=current" json:"current,omitempty"`
	Target   *hapi_release5.Release `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
	Timeout  int64                  `protobuf:"varint,3,opt,name=Timeout" json:"Timeout,omitempty"`
	Wait     bool                   `protobuf:"varint,4,opt,name=Wait" json:"Wait,omitempty"`
	Recreate bool                   `protobuf:"varint,5,opt,name=Recreate" json:"Recreate,omitempty"`
	Force    bool                   `protobuf:"varint,6,opt,name=Force" json:"Force,omitempty"`
}

func (*UpgradeReleaseRequest) Descriptor

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

func (*UpgradeReleaseRequest) GetCurrent

func (m *UpgradeReleaseRequest) GetCurrent() *hapi_release5.Release

func (*UpgradeReleaseRequest) GetForce

func (m *UpgradeReleaseRequest) GetForce() bool

func (*UpgradeReleaseRequest) GetRecreate

func (m *UpgradeReleaseRequest) GetRecreate() bool

func (*UpgradeReleaseRequest) GetTarget

func (*UpgradeReleaseRequest) GetTimeout

func (m *UpgradeReleaseRequest) GetTimeout() int64

func (*UpgradeReleaseRequest) GetWait

func (m *UpgradeReleaseRequest) GetWait() bool

func (*UpgradeReleaseRequest) ProtoMessage

func (*UpgradeReleaseRequest) ProtoMessage()

func (*UpgradeReleaseRequest) Reset

func (m *UpgradeReleaseRequest) Reset()

func (*UpgradeReleaseRequest) String

func (m *UpgradeReleaseRequest) String() string

type UpgradeReleaseResponse

type UpgradeReleaseResponse struct {
	Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
	Result  *Result                `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
}

func (*UpgradeReleaseResponse) Descriptor

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

func (*UpgradeReleaseResponse) GetRelease

func (m *UpgradeReleaseResponse) GetRelease() *hapi_release5.Release

func (*UpgradeReleaseResponse) GetResult

func (m *UpgradeReleaseResponse) GetResult() *Result

func (*UpgradeReleaseResponse) ProtoMessage

func (*UpgradeReleaseResponse) ProtoMessage()

func (*UpgradeReleaseResponse) Reset

func (m *UpgradeReleaseResponse) Reset()

func (*UpgradeReleaseResponse) String

func (m *UpgradeReleaseResponse) String() string

type VersionReleaseRequest

type VersionReleaseRequest struct {
}

func (*VersionReleaseRequest) Descriptor

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

func (*VersionReleaseRequest) ProtoMessage

func (*VersionReleaseRequest) ProtoMessage()

func (*VersionReleaseRequest) Reset

func (m *VersionReleaseRequest) Reset()

func (*VersionReleaseRequest) String

func (m *VersionReleaseRequest) String() string

type VersionReleaseResponse

type VersionReleaseResponse struct {
	Name    string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
}

func (*VersionReleaseResponse) Descriptor

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

func (*VersionReleaseResponse) GetName

func (m *VersionReleaseResponse) GetName() string

func (*VersionReleaseResponse) GetVersion

func (m *VersionReleaseResponse) GetVersion() string

func (*VersionReleaseResponse) ProtoMessage

func (*VersionReleaseResponse) ProtoMessage()

func (*VersionReleaseResponse) Reset

func (m *VersionReleaseResponse) Reset()

func (*VersionReleaseResponse) String

func (m *VersionReleaseResponse) String() string

Jump to

Keyboard shortcuts

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