chassis

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 RegisterChassisHandler

func RegisterChassisHandler(s server.Server, hdlr ChassisHandler, opts ...server.HandlerOption) error

Types

type ChassisHandler

type ChassisHandler interface {
	GetChassisCollection(context.Context, *GetChassisRequest, *GetChassisResponse) error
	GetChassisResource(context.Context, *GetChassisRequest, *GetChassisResponse) error
	GetChassisInfo(context.Context, *GetChassisRequest, *GetChassisResponse) error
}

type ChassisService

type ChassisService interface {
	GetChassisCollection(ctx context.Context, in *GetChassisRequest, opts ...client.CallOption) (*GetChassisResponse, error)
	GetChassisResource(ctx context.Context, in *GetChassisRequest, opts ...client.CallOption) (*GetChassisResponse, error)
	GetChassisInfo(ctx context.Context, in *GetChassisRequest, opts ...client.CallOption) (*GetChassisResponse, error)
}

func NewChassisService

func NewChassisService(name string, c client.Client) ChassisService

type GetChassisRequest

type GetChassisRequest struct {
	SessionToken         string   `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	RequestParam         string   `protobuf:"bytes,2,opt,name=requestParam,proto3" json:"requestParam,omitempty"`
	URL                  string   `protobuf:"bytes,3,opt,name=URL,proto3" json:"URL,omitempty"`
	ResourceID           string   `protobuf:"bytes,4,opt,name=resourceID,proto3" json:"resourceID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetChassisRequest) Descriptor

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

func (*GetChassisRequest) GetRequestParam

func (m *GetChassisRequest) GetRequestParam() string

func (*GetChassisRequest) GetResourceID

func (m *GetChassisRequest) GetResourceID() string

func (*GetChassisRequest) GetSessionToken

func (m *GetChassisRequest) GetSessionToken() string

func (*GetChassisRequest) GetURL

func (m *GetChassisRequest) GetURL() string

func (*GetChassisRequest) ProtoMessage

func (*GetChassisRequest) ProtoMessage()

func (*GetChassisRequest) Reset

func (m *GetChassisRequest) Reset()

func (*GetChassisRequest) String

func (m *GetChassisRequest) String() string

func (*GetChassisRequest) XXX_DiscardUnknown

func (m *GetChassisRequest) XXX_DiscardUnknown()

func (*GetChassisRequest) XXX_Marshal

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

func (*GetChassisRequest) XXX_Merge

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

func (*GetChassisRequest) XXX_Size

func (m *GetChassisRequest) XXX_Size() int

func (*GetChassisRequest) XXX_Unmarshal

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

type GetChassisResponse

type GetChassisResponse 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 (*GetChassisResponse) Descriptor

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

func (*GetChassisResponse) GetBody

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

func (*GetChassisResponse) GetHeader

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

func (*GetChassisResponse) GetStatusCode

func (m *GetChassisResponse) GetStatusCode() int32

func (*GetChassisResponse) GetStatusMessage

func (m *GetChassisResponse) GetStatusMessage() string

func (*GetChassisResponse) ProtoMessage

func (*GetChassisResponse) ProtoMessage()

func (*GetChassisResponse) Reset

func (m *GetChassisResponse) Reset()

func (*GetChassisResponse) String

func (m *GetChassisResponse) String() string

func (*GetChassisResponse) XXX_DiscardUnknown

func (m *GetChassisResponse) XXX_DiscardUnknown()

func (*GetChassisResponse) XXX_Marshal

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

func (*GetChassisResponse) XXX_Merge

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

func (*GetChassisResponse) XXX_Size

func (m *GetChassisResponse) XXX_Size() int

func (*GetChassisResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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