Documentation ¶
Index ¶
- Variables
- func RegisterCloudInitServiceServer(s *grpc.Server, srv CloudInitServiceServer)
- type BuildImageRequest
- func (*BuildImageRequest) Descriptor() ([]byte, []int)
- func (m *BuildImageRequest) GetAvailabilityZone() string
- func (m *BuildImageRequest) GetCloudname() string
- func (m *BuildImageRequest) GetDomain() string
- func (m *BuildImageRequest) GetHostname() string
- func (m *BuildImageRequest) GetMachineName() string
- func (m *BuildImageRequest) GetOutputFile() string
- func (m *BuildImageRequest) GetPlatform() string
- func (m *BuildImageRequest) GetRegion() string
- func (m *BuildImageRequest) GetSubplatform() string
- func (m *BuildImageRequest) GetTimezone() string
- func (m *BuildImageRequest) GetUserConfig() []byte
- func (m *BuildImageRequest) Marshal() (dAtA []byte, err error)
- func (m *BuildImageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BuildImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuildImageRequest) ProtoMessage()
- func (m *BuildImageRequest) Reset()
- func (m *BuildImageRequest) Size() (n int)
- func (m *BuildImageRequest) String() string
- func (m *BuildImageRequest) Unmarshal(dAtA []byte) error
- func (m *BuildImageRequest) XXX_DiscardUnknown()
- func (m *BuildImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildImageRequest) XXX_Merge(src proto.Message)
- func (m *BuildImageRequest) XXX_Size() int
- func (m *BuildImageRequest) XXX_Unmarshal(b []byte) error
- type BuildImageResponse
- func (*BuildImageResponse) Descriptor() ([]byte, []int)
- func (m *BuildImageResponse) GetOutputFile() string
- func (m *BuildImageResponse) Marshal() (dAtA []byte, err error)
- func (m *BuildImageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BuildImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuildImageResponse) ProtoMessage()
- func (m *BuildImageResponse) Reset()
- func (m *BuildImageResponse) Size() (n int)
- func (m *BuildImageResponse) String() string
- func (m *BuildImageResponse) Unmarshal(dAtA []byte) error
- func (m *BuildImageResponse) XXX_DiscardUnknown()
- func (m *BuildImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildImageResponse) XXX_Merge(src proto.Message)
- func (m *BuildImageResponse) XXX_Size() int
- func (m *BuildImageResponse) XXX_Unmarshal(b []byte) error
- type CloudInitServiceClient
- type CloudInitServiceServer
- type UnimplementedCloudInitServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterCloudInitServiceServer ¶
func RegisterCloudInitServiceServer(s *grpc.Server, srv CloudInitServiceServer)
Types ¶
type BuildImageRequest ¶
type BuildImageRequest struct { MachineName string `protobuf:"bytes,1,opt,name=machine_name,json=machineName,proto3" json:"machine_name,omitempty"` // The instance-data keys Platform string `protobuf:"bytes,101,opt,name=platform,proto3" json:"platform,omitempty"` Subplatform string `protobuf:"bytes,102,opt,name=subplatform,proto3" json:"subplatform,omitempty"` Cloudname string `protobuf:"bytes,103,opt,name=cloudname,proto3" json:"cloudname,omitempty"` Region string `protobuf:"bytes,104,opt,name=region,proto3" json:"region,omitempty"` AvailabilityZone string `protobuf:"bytes,105,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"` // These fields override the same name keys // from user_config structure Hostname string `protobuf:"bytes,201,opt,name=hostname,proto3" json:"hostname,omitempty"` Domain string `protobuf:"bytes,202,opt,name=domain,proto3" json:"domain,omitempty"` Timezone string `protobuf:"bytes,203,opt,name=timezone,proto3" json:"timezone,omitempty"` UserConfig []byte `protobuf:"bytes,299,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` OutputFile string `protobuf:"bytes,301,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildImageRequest) Descriptor ¶
func (*BuildImageRequest) Descriptor() ([]byte, []int)
func (*BuildImageRequest) GetAvailabilityZone ¶
func (m *BuildImageRequest) GetAvailabilityZone() string
func (*BuildImageRequest) GetCloudname ¶
func (m *BuildImageRequest) GetCloudname() string
func (*BuildImageRequest) GetDomain ¶
func (m *BuildImageRequest) GetDomain() string
func (*BuildImageRequest) GetHostname ¶
func (m *BuildImageRequest) GetHostname() string
func (*BuildImageRequest) GetMachineName ¶
func (m *BuildImageRequest) GetMachineName() string
func (*BuildImageRequest) GetOutputFile ¶
func (m *BuildImageRequest) GetOutputFile() string
func (*BuildImageRequest) GetPlatform ¶
func (m *BuildImageRequest) GetPlatform() string
func (*BuildImageRequest) GetRegion ¶
func (m *BuildImageRequest) GetRegion() string
func (*BuildImageRequest) GetSubplatform ¶
func (m *BuildImageRequest) GetSubplatform() string
func (*BuildImageRequest) GetTimezone ¶
func (m *BuildImageRequest) GetTimezone() string
func (*BuildImageRequest) GetUserConfig ¶
func (m *BuildImageRequest) GetUserConfig() []byte
func (*BuildImageRequest) Marshal ¶
func (m *BuildImageRequest) Marshal() (dAtA []byte, err error)
func (*BuildImageRequest) MarshalTo ¶
func (m *BuildImageRequest) MarshalTo(dAtA []byte) (int, error)
func (*BuildImageRequest) MarshalToSizedBuffer ¶
func (m *BuildImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BuildImageRequest) ProtoMessage ¶
func (*BuildImageRequest) ProtoMessage()
func (*BuildImageRequest) Reset ¶
func (m *BuildImageRequest) Reset()
func (*BuildImageRequest) Size ¶
func (m *BuildImageRequest) Size() (n int)
func (*BuildImageRequest) String ¶
func (m *BuildImageRequest) String() string
func (*BuildImageRequest) Unmarshal ¶
func (m *BuildImageRequest) Unmarshal(dAtA []byte) error
func (*BuildImageRequest) XXX_DiscardUnknown ¶
func (m *BuildImageRequest) XXX_DiscardUnknown()
func (*BuildImageRequest) XXX_Marshal ¶
func (m *BuildImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildImageRequest) XXX_Merge ¶
func (m *BuildImageRequest) XXX_Merge(src proto.Message)
func (*BuildImageRequest) XXX_Size ¶
func (m *BuildImageRequest) XXX_Size() int
func (*BuildImageRequest) XXX_Unmarshal ¶
func (m *BuildImageRequest) XXX_Unmarshal(b []byte) error
type BuildImageResponse ¶
type BuildImageResponse struct { OutputFile string `protobuf:"bytes,1,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildImageResponse) Descriptor ¶
func (*BuildImageResponse) Descriptor() ([]byte, []int)
func (*BuildImageResponse) GetOutputFile ¶
func (m *BuildImageResponse) GetOutputFile() string
func (*BuildImageResponse) Marshal ¶
func (m *BuildImageResponse) Marshal() (dAtA []byte, err error)
func (*BuildImageResponse) MarshalTo ¶
func (m *BuildImageResponse) MarshalTo(dAtA []byte) (int, error)
func (*BuildImageResponse) MarshalToSizedBuffer ¶
func (m *BuildImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BuildImageResponse) ProtoMessage ¶
func (*BuildImageResponse) ProtoMessage()
func (*BuildImageResponse) Reset ¶
func (m *BuildImageResponse) Reset()
func (*BuildImageResponse) Size ¶
func (m *BuildImageResponse) Size() (n int)
func (*BuildImageResponse) String ¶
func (m *BuildImageResponse) String() string
func (*BuildImageResponse) Unmarshal ¶
func (m *BuildImageResponse) Unmarshal(dAtA []byte) error
func (*BuildImageResponse) XXX_DiscardUnknown ¶
func (m *BuildImageResponse) XXX_DiscardUnknown()
func (*BuildImageResponse) XXX_Marshal ¶
func (m *BuildImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildImageResponse) XXX_Merge ¶
func (m *BuildImageResponse) XXX_Merge(src proto.Message)
func (*BuildImageResponse) XXX_Size ¶
func (m *BuildImageResponse) XXX_Size() int
func (*BuildImageResponse) XXX_Unmarshal ¶
func (m *BuildImageResponse) XXX_Unmarshal(b []byte) error
type CloudInitServiceClient ¶
type CloudInitServiceClient interface {
BuildImage(ctx context.Context, in *BuildImageRequest, opts ...grpc.CallOption) (*BuildImageResponse, error)
}
CloudInitServiceClient is the client API for CloudInitService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudInitServiceClient ¶
func NewCloudInitServiceClient(cc *grpc.ClientConn) CloudInitServiceClient
type CloudInitServiceServer ¶
type CloudInitServiceServer interface {
BuildImage(context.Context, *BuildImageRequest) (*BuildImageResponse, error)
}
CloudInitServiceServer is the server API for CloudInitService service.
type UnimplementedCloudInitServiceServer ¶
type UnimplementedCloudInitServiceServer struct { }
UnimplementedCloudInitServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCloudInitServiceServer) BuildImage ¶
func (*UnimplementedCloudInitServiceServer) BuildImage(ctx context.Context, req *BuildImageRequest) (*BuildImageResponse, error)
Click to show internal directories.
Click to hide internal directories.