aggregator

package
v0.0.0-...-695150b Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAggregatorHandler

func RegisterAggregatorHandler(s server.Server, hdlr AggregatorHandler, opts ...server.HandlerOption) error

Types

type AggregatorRequest

type AggregatorRequest struct {
	SessionToken         string   `protobuf:"bytes,1,opt,name=SessionToken,proto3" json:"SessionToken,omitempty"`
	RequestBody          []byte   `protobuf:"bytes,2,opt,name=RequestBody,proto3" json:"RequestBody,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AggregatorRequest) Descriptor

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

func (*AggregatorRequest) GetRequestBody

func (m *AggregatorRequest) GetRequestBody() []byte

func (*AggregatorRequest) GetSessionToken

func (m *AggregatorRequest) GetSessionToken() string

func (*AggregatorRequest) ProtoMessage

func (*AggregatorRequest) ProtoMessage()

func (*AggregatorRequest) Reset

func (m *AggregatorRequest) Reset()

func (*AggregatorRequest) String

func (m *AggregatorRequest) String() string

func (*AggregatorRequest) XXX_DiscardUnknown

func (m *AggregatorRequest) XXX_DiscardUnknown()

func (*AggregatorRequest) XXX_Marshal

func (m *AggregatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregatorRequest) XXX_Merge

func (m *AggregatorRequest) XXX_Merge(src proto.Message)

func (*AggregatorRequest) XXX_Size

func (m *AggregatorRequest) XXX_Size() int

func (*AggregatorRequest) XXX_Unmarshal

func (m *AggregatorRequest) XXX_Unmarshal(b []byte) error

type AggregatorResponse

type AggregatorResponse struct {
	StatusCode           int32             `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	StatusMessage        string            `protobuf:"bytes,2,opt,name=statusMessage,proto3" json:"statusMessage,omitempty"`
	Header               map[string]string `` /* 153-byte string literal not displayed */
	Body                 []byte            `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*AggregatorResponse) Descriptor

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

func (*AggregatorResponse) GetBody

func (m *AggregatorResponse) GetBody() []byte

func (*AggregatorResponse) GetHeader

func (m *AggregatorResponse) GetHeader() map[string]string

func (*AggregatorResponse) GetStatusCode

func (m *AggregatorResponse) GetStatusCode() int32

func (*AggregatorResponse) GetStatusMessage

func (m *AggregatorResponse) GetStatusMessage() string

func (*AggregatorResponse) ProtoMessage

func (*AggregatorResponse) ProtoMessage()

func (*AggregatorResponse) Reset

func (m *AggregatorResponse) Reset()

func (*AggregatorResponse) String

func (m *AggregatorResponse) String() string

func (*AggregatorResponse) XXX_DiscardUnknown

func (m *AggregatorResponse) XXX_DiscardUnknown()

func (*AggregatorResponse) XXX_Marshal

func (m *AggregatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregatorResponse) XXX_Merge

func (m *AggregatorResponse) XXX_Merge(src proto.Message)

func (*AggregatorResponse) XXX_Size

func (m *AggregatorResponse) XXX_Size() int

func (*AggregatorResponse) XXX_Unmarshal

func (m *AggregatorResponse) XXX_Unmarshal(b []byte) error

type AggregatorService

type AggregatorService interface {
	AddCompute(ctx context.Context, in *AggregatorRequest, opts ...client.CallOption) (*AggregatorResponse, error)
	GetAggregationService(ctx context.Context, in *AggregatorRequest, opts ...client.CallOption) (*AggregatorResponse, error)
	DeleteCompute(ctx context.Context, in *AggregatorRequest, opts ...client.CallOption) (*AggregatorResponse, error)
	Reset(ctx context.Context, in *AggregatorRequest, opts ...client.CallOption) (*AggregatorResponse, error)
	SetDefaultBootOrder(ctx context.Context, in *AggregatorRequest, opts ...client.CallOption) (*AggregatorResponse, error)
	RediscoverSystemInventory(ctx context.Context, in *RediscoverSystemInventoryRequest, opts ...client.CallOption) (*RediscoverSystemInventoryResponse, error)
	UpdateSystemState(ctx context.Context, in *UpdateSystemStateRequest, opts ...client.CallOption) (*UpdateSystemStateResponse, error)
}

func NewAggregatorService

func NewAggregatorService(name string, c client.Client) AggregatorService

type RediscoverSystemInventoryRequest

type RediscoverSystemInventoryRequest struct {
	SystemID             string   `protobuf:"bytes,1,opt,name=SystemID,proto3" json:"SystemID,omitempty"`
	SystemURL            string   `protobuf:"bytes,2,opt,name=SystemURL,proto3" json:"SystemURL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RediscoverSystemInventoryRequest) Descriptor

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

func (*RediscoverSystemInventoryRequest) GetSystemID

func (m *RediscoverSystemInventoryRequest) GetSystemID() string

func (*RediscoverSystemInventoryRequest) GetSystemURL

func (m *RediscoverSystemInventoryRequest) GetSystemURL() string

func (*RediscoverSystemInventoryRequest) ProtoMessage

func (*RediscoverSystemInventoryRequest) ProtoMessage()

func (*RediscoverSystemInventoryRequest) Reset

func (*RediscoverSystemInventoryRequest) String

func (*RediscoverSystemInventoryRequest) XXX_DiscardUnknown

func (m *RediscoverSystemInventoryRequest) XXX_DiscardUnknown()

func (*RediscoverSystemInventoryRequest) XXX_Marshal

func (m *RediscoverSystemInventoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RediscoverSystemInventoryRequest) XXX_Merge

func (*RediscoverSystemInventoryRequest) XXX_Size

func (m *RediscoverSystemInventoryRequest) XXX_Size() int

func (*RediscoverSystemInventoryRequest) XXX_Unmarshal

func (m *RediscoverSystemInventoryRequest) XXX_Unmarshal(b []byte) error

type RediscoverSystemInventoryResponse

type RediscoverSystemInventoryResponse struct {
	TaskURL              string   `protobuf:"bytes,1,opt,name=TaskURL,proto3" json:"TaskURL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RediscoverSystemInventoryResponse) Descriptor

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

func (*RediscoverSystemInventoryResponse) GetTaskURL

func (m *RediscoverSystemInventoryResponse) GetTaskURL() string

func (*RediscoverSystemInventoryResponse) ProtoMessage

func (*RediscoverSystemInventoryResponse) ProtoMessage()

func (*RediscoverSystemInventoryResponse) Reset

func (*RediscoverSystemInventoryResponse) String

func (*RediscoverSystemInventoryResponse) XXX_DiscardUnknown

func (m *RediscoverSystemInventoryResponse) XXX_DiscardUnknown()

func (*RediscoverSystemInventoryResponse) XXX_Marshal

func (m *RediscoverSystemInventoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RediscoverSystemInventoryResponse) XXX_Merge

func (*RediscoverSystemInventoryResponse) XXX_Size

func (m *RediscoverSystemInventoryResponse) XXX_Size() int

func (*RediscoverSystemInventoryResponse) XXX_Unmarshal

func (m *RediscoverSystemInventoryResponse) XXX_Unmarshal(b []byte) error

type UpdateSystemStateRequest

type UpdateSystemStateRequest struct {
	SystemUUID           string   `protobuf:"bytes,1,opt,name=SystemUUID,proto3" json:"SystemUUID,omitempty"`
	SystemID             string   `protobuf:"bytes,2,opt,name=SystemID,proto3" json:"SystemID,omitempty"`
	SystemURI            string   `protobuf:"bytes,3,opt,name=SystemURI,proto3" json:"SystemURI,omitempty"`
	UpdateKey            string   `protobuf:"bytes,4,opt,name=UpdateKey,proto3" json:"UpdateKey,omitempty"`
	UpdateVal            string   `protobuf:"bytes,5,opt,name=UpdateVal,proto3" json:"UpdateVal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateSystemStateRequest) Descriptor

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

func (*UpdateSystemStateRequest) GetSystemID

func (m *UpdateSystemStateRequest) GetSystemID() string

func (*UpdateSystemStateRequest) GetSystemURI

func (m *UpdateSystemStateRequest) GetSystemURI() string

func (*UpdateSystemStateRequest) GetSystemUUID

func (m *UpdateSystemStateRequest) GetSystemUUID() string

func (*UpdateSystemStateRequest) GetUpdateKey

func (m *UpdateSystemStateRequest) GetUpdateKey() string

func (*UpdateSystemStateRequest) GetUpdateVal

func (m *UpdateSystemStateRequest) GetUpdateVal() string

func (*UpdateSystemStateRequest) ProtoMessage

func (*UpdateSystemStateRequest) ProtoMessage()

func (*UpdateSystemStateRequest) Reset

func (m *UpdateSystemStateRequest) Reset()

func (*UpdateSystemStateRequest) String

func (m *UpdateSystemStateRequest) String() string

func (*UpdateSystemStateRequest) XXX_DiscardUnknown

func (m *UpdateSystemStateRequest) XXX_DiscardUnknown()

func (*UpdateSystemStateRequest) XXX_Marshal

func (m *UpdateSystemStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSystemStateRequest) XXX_Merge

func (m *UpdateSystemStateRequest) XXX_Merge(src proto.Message)

func (*UpdateSystemStateRequest) XXX_Size

func (m *UpdateSystemStateRequest) XXX_Size() int

func (*UpdateSystemStateRequest) XXX_Unmarshal

func (m *UpdateSystemStateRequest) XXX_Unmarshal(b []byte) error

type UpdateSystemStateResponse

type UpdateSystemStateResponse struct {
	TaskURL              string   `protobuf:"bytes,1,opt,name=TaskURL,proto3" json:"TaskURL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateSystemStateResponse) Descriptor

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

func (*UpdateSystemStateResponse) GetTaskURL

func (m *UpdateSystemStateResponse) GetTaskURL() string

func (*UpdateSystemStateResponse) ProtoMessage

func (*UpdateSystemStateResponse) ProtoMessage()

func (*UpdateSystemStateResponse) Reset

func (m *UpdateSystemStateResponse) Reset()

func (*UpdateSystemStateResponse) String

func (m *UpdateSystemStateResponse) String() string

func (*UpdateSystemStateResponse) XXX_DiscardUnknown

func (m *UpdateSystemStateResponse) XXX_DiscardUnknown()

func (*UpdateSystemStateResponse) XXX_Marshal

func (m *UpdateSystemStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSystemStateResponse) XXX_Merge

func (m *UpdateSystemStateResponse) XXX_Merge(src proto.Message)

func (*UpdateSystemStateResponse) XXX_Size

func (m *UpdateSystemStateResponse) XXX_Size() int

func (*UpdateSystemStateResponse) XXX_Unmarshal

func (m *UpdateSystemStateResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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