Documentation ¶
Overview ¶
Package hambone is a generated protocol buffer package.
It is generated from these files:
hambone.proto
It has these top-level messages:
Instance InstanceList Status DeploymentStatus GetOptions File Empty
Index ¶
- func RegisterInstancesServer(s *grpc.Server, srv InstancesServer)
- type DeploymentStatus
- func (*DeploymentStatus) Descriptor() ([]byte, []int)
- func (m *DeploymentStatus) GetAvailable() int32
- func (m *DeploymentStatus) GetCurrent() int32
- func (m *DeploymentStatus) GetDesired() int32
- func (m *DeploymentStatus) GetName() string
- func (m *DeploymentStatus) GetUpToDate() int32
- func (*DeploymentStatus) ProtoMessage()
- func (m *DeploymentStatus) Reset()
- func (m *DeploymentStatus) String() string
- type Empty
- type File
- type GetOptions
- func (*GetOptions) Descriptor() ([]byte, []int)
- func (m *GetOptions) GetExcludeStatuses() bool
- func (m *GetOptions) GetName() string
- func (m *GetOptions) GetStart() int32
- func (m *GetOptions) GetStop() int32
- func (*GetOptions) ProtoMessage()
- func (m *GetOptions) Reset()
- func (m *GetOptions) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)
- func (m *Instance) GetFiles() []*File
- func (m *Instance) GetKustomizationYaml() string
- func (m *Instance) GetName() string
- func (m *Instance) GetOldInstance() *Instance
- func (m *Instance) GetStatuses() []*Status
- func (m *Instance) GetStatusesErrorMessage() string
- func (*Instance) ProtoMessage()
- func (m *Instance) Reset()
- func (m *Instance) String() string
- type InstanceList
- type InstancesClient
- type InstancesServer
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetDeployment() *DeploymentStatus
- func (m *Status) GetItem() isStatus_Item
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (*Status) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Status_Deployment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInstancesServer ¶
func RegisterInstancesServer(s *grpc.Server, srv InstancesServer)
Types ¶
type DeploymentStatus ¶
type DeploymentStatus struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Desired int32 `protobuf:"varint,2,opt,name=desired" json:"desired,omitempty"` Current int32 `protobuf:"varint,3,opt,name=current" json:"current,omitempty"` UpToDate int32 `protobuf:"varint,4,opt,name=up_to_date,json=upToDate" json:"up_to_date,omitempty"` Available int32 `protobuf:"varint,5,opt,name=available" json:"available,omitempty"` }
func (*DeploymentStatus) Descriptor ¶
func (*DeploymentStatus) Descriptor() ([]byte, []int)
func (*DeploymentStatus) GetAvailable ¶
func (m *DeploymentStatus) GetAvailable() int32
func (*DeploymentStatus) GetCurrent ¶
func (m *DeploymentStatus) GetCurrent() int32
func (*DeploymentStatus) GetDesired ¶
func (m *DeploymentStatus) GetDesired() int32
func (*DeploymentStatus) GetName ¶
func (m *DeploymentStatus) GetName() string
func (*DeploymentStatus) GetUpToDate ¶
func (m *DeploymentStatus) GetUpToDate() int32
func (*DeploymentStatus) ProtoMessage ¶
func (*DeploymentStatus) ProtoMessage()
func (*DeploymentStatus) Reset ¶
func (m *DeploymentStatus) Reset()
func (*DeploymentStatus) String ¶
func (m *DeploymentStatus) String() string
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Directory string `protobuf:"bytes,2,opt,name=directory" json:"directory,omitempty"` Contents string `protobuf:"bytes,3,opt,name=contents" json:"contents,omitempty"` }
func (*File) Descriptor ¶
func (*File) GetContents ¶
func (*File) GetDirectory ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type GetOptions ¶
type GetOptions struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Start int32 `protobuf:"varint,2,opt,name=start" json:"start,omitempty"` Stop int32 `protobuf:"varint,3,opt,name=stop" json:"stop,omitempty"` ExcludeStatuses bool `protobuf:"varint,4,opt,name=exclude_statuses,json=excludeStatuses" json:"exclude_statuses,omitempty"` }
func (*GetOptions) Descriptor ¶
func (*GetOptions) Descriptor() ([]byte, []int)
func (*GetOptions) GetExcludeStatuses ¶
func (m *GetOptions) GetExcludeStatuses() bool
func (*GetOptions) GetName ¶
func (m *GetOptions) GetName() string
func (*GetOptions) GetStart ¶
func (m *GetOptions) GetStart() int32
func (*GetOptions) GetStop ¶
func (m *GetOptions) GetStop() int32
func (*GetOptions) ProtoMessage ¶
func (*GetOptions) ProtoMessage()
func (*GetOptions) Reset ¶
func (m *GetOptions) Reset()
func (*GetOptions) String ¶
func (m *GetOptions) String() string
type Instance ¶
type Instance struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` KustomizationYaml string `protobuf:"bytes,2,opt,name=kustomization_yaml,json=kustomizationYaml" json:"kustomization_yaml,omitempty"` Statuses []*Status `protobuf:"bytes,3,rep,name=statuses" json:"statuses,omitempty"` StatusesErrorMessage string `protobuf:"bytes,4,opt,name=statuses_error_message,json=statusesErrorMessage" json:"statuses_error_message,omitempty"` OldInstance *Instance `protobuf:"bytes,5,opt,name=old_instance,json=oldInstance" json:"old_instance,omitempty"` Files []*File `protobuf:"bytes,6,rep,name=files" json:"files,omitempty"` }
func (*Instance) Descriptor ¶
func (*Instance) GetKustomizationYaml ¶
func (*Instance) GetOldInstance ¶
func (*Instance) GetStatuses ¶
func (*Instance) GetStatusesErrorMessage ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
type InstanceList ¶
type InstanceList struct {
Instances []*Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"`
}
func (*InstanceList) Descriptor ¶
func (*InstanceList) Descriptor() ([]byte, []int)
func (*InstanceList) GetInstances ¶
func (m *InstanceList) GetInstances() []*Instance
func (*InstanceList) ProtoMessage ¶
func (*InstanceList) ProtoMessage()
func (*InstanceList) Reset ¶
func (m *InstanceList) Reset()
func (*InstanceList) String ¶
func (m *InstanceList) String() string
type InstancesClient ¶
type InstancesClient interface { Apply(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) Get(ctx context.Context, in *GetOptions, opts ...grpc.CallOption) (*InstanceList, error) Delete(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) GetTemplates(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*InstanceList, error) }
func NewInstancesClient ¶
func NewInstancesClient(cc *grpc.ClientConn) InstancesClient
type InstancesServer ¶
type Status ¶
type Status struct { // Types that are valid to be assigned to Item: // *Status_Deployment Item isStatus_Item `protobuf_oneof:"item"` }
func (*Status) Descriptor ¶
func (*Status) GetDeployment ¶
func (m *Status) GetDeployment() *DeploymentStatus
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
type Status_Deployment ¶
type Status_Deployment struct {
Deployment *DeploymentStatus `protobuf:"bytes,1,opt,name=deployment,oneof"`
}
Click to show internal directories.
Click to hide internal directories.