api

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_kubeops_proto protoreflect.FileDescriptor
View Source
var KubeOpsApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.KubeOpsApi",
	HandlerType: (*KubeOpsApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateProject",
			Handler:    _KubeOpsApi_CreateProject_Handler,
		},
		{
			MethodName: "ListProject",
			Handler:    _KubeOpsApi_ListProject_Handler,
		},
		{
			MethodName: "GetInventory",
			Handler:    _KubeOpsApi_GetInventory_Handler,
		},
		{
			MethodName: "RunPlaybook",
			Handler:    _KubeOpsApi_RunPlaybook_Handler,
		},
		{
			MethodName: "RunAdhoc",
			Handler:    _KubeOpsApi_RunAdhoc_Handler,
		},
		{
			MethodName: "GetResult",
			Handler:    _KubeOpsApi_GetResult_Handler,
		},
		{
			MethodName: "ListResult",
			Handler:    _KubeOpsApi_ListResult_Handler,
		},
		{
			MethodName: "Health",
			Handler:    _KubeOpsApi_Health_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchResult",
			Handler:       _KubeOpsApi_WatchResult_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/kubeops.proto",
}

KubeOpsApi_ServiceDesc is the grpc.ServiceDesc for KubeOpsApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKubeOpsApiHTTPServer

func RegisterKubeOpsApiHTTPServer(s *http.Server, srv KubeOpsApiHTTPServer)

func RegisterKubeOpsApiServer

func RegisterKubeOpsApiServer(s grpc.ServiceRegistrar, srv KubeOpsApiServer)

Types

type CreateProjectRequest

type CreateProjectRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) GetSource

func (x *CreateProjectRequest) GetSource() string

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Item *Project `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectResponse) Descriptor deprecated

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

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetItem

func (x *CreateProjectResponse) GetItem() *Project

func (*CreateProjectResponse) ProtoMessage

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect

func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message

func (*CreateProjectResponse) Reset

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String

func (x *CreateProjectResponse) String() string

type GetInventoryRequest

type GetInventoryRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInventoryRequest) Descriptor deprecated

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

Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.

func (*GetInventoryRequest) GetId

func (x *GetInventoryRequest) GetId() string

func (*GetInventoryRequest) ProtoMessage

func (*GetInventoryRequest) ProtoMessage()

func (*GetInventoryRequest) ProtoReflect

func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message

func (*GetInventoryRequest) Reset

func (x *GetInventoryRequest) Reset()

func (*GetInventoryRequest) String

func (x *GetInventoryRequest) String() string

type GetInventoryResponse

type GetInventoryResponse struct {
	Item *Inventory `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInventoryResponse) Descriptor deprecated

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

Deprecated: Use GetInventoryResponse.ProtoReflect.Descriptor instead.

func (*GetInventoryResponse) GetItem

func (x *GetInventoryResponse) GetItem() *Inventory

func (*GetInventoryResponse) ProtoMessage

func (*GetInventoryResponse) ProtoMessage()

func (*GetInventoryResponse) ProtoReflect

func (x *GetInventoryResponse) ProtoReflect() protoreflect.Message

func (*GetInventoryResponse) Reset

func (x *GetInventoryResponse) Reset()

func (*GetInventoryResponse) String

func (x *GetInventoryResponse) String() string

type GetResultRequest

type GetResultRequest struct {
	TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResultRequest) Descriptor deprecated

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

Deprecated: Use GetResultRequest.ProtoReflect.Descriptor instead.

func (*GetResultRequest) GetTaskId

func (x *GetResultRequest) GetTaskId() string

func (*GetResultRequest) ProtoMessage

func (*GetResultRequest) ProtoMessage()

func (*GetResultRequest) ProtoReflect

func (x *GetResultRequest) ProtoReflect() protoreflect.Message

func (*GetResultRequest) Reset

func (x *GetResultRequest) Reset()

func (*GetResultRequest) String

func (x *GetResultRequest) String() string

type GetResultResponse

type GetResultResponse struct {
	Item *Result `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResultResponse) Descriptor deprecated

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

Deprecated: Use GetResultResponse.ProtoReflect.Descriptor instead.

func (*GetResultResponse) GetItem

func (x *GetResultResponse) GetItem() *Result

func (*GetResultResponse) ProtoMessage

func (*GetResultResponse) ProtoMessage()

func (*GetResultResponse) ProtoReflect

func (x *GetResultResponse) ProtoReflect() protoreflect.Message

func (*GetResultResponse) Reset

func (x *GetResultResponse) Reset()

func (*GetResultResponse) String

func (x *GetResultResponse) String() string

type Group

type Group struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Hosts    []string          `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"`
	Children []string          `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	Vars     map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetChildren

func (x *Group) GetChildren() []string

func (*Group) GetHosts

func (x *Group) GetHosts() []string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetVars

func (x *Group) GetVars() map[string]string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type HealthRequest

type HealthRequest struct {
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

func (x *HealthRequest) ProtoReflect() protoreflect.Message

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

type HealthResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetMessage

func (x *HealthResponse) GetMessage() string

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

func (x *HealthResponse) ProtoReflect() protoreflect.Message

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type Host

type Host struct {
	Ip          string            `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Port        int32             `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	User        string            `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	Password    string            `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	PrivateKey  string            `protobuf:"bytes,6,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	ProxyConfig *ProxyConfig      `protobuf:"bytes,7,opt,name=proxyConfig,proto3" json:"proxyConfig,omitempty"`
	Vars        map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Host) Descriptor deprecated

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetIp

func (x *Host) GetIp() string

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetPassword

func (x *Host) GetPassword() string

func (*Host) GetPort

func (x *Host) GetPort() int32

func (*Host) GetPrivateKey

func (x *Host) GetPrivateKey() string

func (*Host) GetProxyConfig

func (x *Host) GetProxyConfig() *ProxyConfig

func (*Host) GetUser

func (x *Host) GetUser() string

func (*Host) GetVars

func (x *Host) GetVars() map[string]string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

func (x *Host) ProtoReflect() protoreflect.Message

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

type Inventory

type Inventory struct {
	Hosts  []*Host           `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	Groups []*Group          `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	Vars   map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Inventory) Descriptor deprecated

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetGroups

func (x *Inventory) GetGroups() []*Group

func (*Inventory) GetHosts

func (x *Inventory) GetHosts() []*Host

func (*Inventory) GetVars

func (x *Inventory) GetVars() map[string]string

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) ProtoReflect

func (x *Inventory) ProtoReflect() protoreflect.Message

func (*Inventory) Reset

func (x *Inventory) Reset()

func (*Inventory) String

func (x *Inventory) String() string

type KubeOpsApiClient

KubeOpsApiClient is the client API for KubeOpsApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewKubeOpsApiClient

func NewKubeOpsApiClient(cc grpc.ClientConnInterface) KubeOpsApiClient

type KubeOpsApiHTTPClient

type KubeOpsApiHTTPClient interface {
	CreateProject(ctx context.Context, req *CreateProjectRequest, opts ...http.CallOption) (rsp *CreateProjectResponse, err error)
	GetInventory(ctx context.Context, req *GetInventoryRequest, opts ...http.CallOption) (rsp *GetInventoryResponse, err error)
	GetResult(ctx context.Context, req *GetResultRequest, opts ...http.CallOption) (rsp *GetResultResponse, err error)
	Health(ctx context.Context, req *HealthRequest, opts ...http.CallOption) (rsp *HealthResponse, err error)
	ListProject(ctx context.Context, req *ListProjectRequest, opts ...http.CallOption) (rsp *ListProjectResponse, err error)
	ListResult(ctx context.Context, req *ListResultRequest, opts ...http.CallOption) (rsp *ListResultResponse, err error)
	RunAdhoc(ctx context.Context, req *RunAdhocRequest, opts ...http.CallOption) (rsp *RunAdhocResult, err error)
	RunPlaybook(ctx context.Context, req *RunPlaybookRequest, opts ...http.CallOption) (rsp *RunPlaybookResult, err error)
}

func NewKubeOpsApiHTTPClient

func NewKubeOpsApiHTTPClient(client *http.Client) KubeOpsApiHTTPClient

type KubeOpsApiHTTPClientImpl

type KubeOpsApiHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*KubeOpsApiHTTPClientImpl) CreateProject

func (*KubeOpsApiHTTPClientImpl) GetInventory

func (*KubeOpsApiHTTPClientImpl) GetResult

func (*KubeOpsApiHTTPClientImpl) Health

func (*KubeOpsApiHTTPClientImpl) ListProject

func (*KubeOpsApiHTTPClientImpl) ListResult

func (*KubeOpsApiHTTPClientImpl) RunAdhoc

func (*KubeOpsApiHTTPClientImpl) RunPlaybook

type KubeOpsApiServer

KubeOpsApiServer is the server API for KubeOpsApi service. All implementations must embed UnimplementedKubeOpsApiServer for forward compatibility

type KubeOpsApi_WatchResultClient

type KubeOpsApi_WatchResultClient interface {
	Recv() (*WatchStream, error)
	grpc.ClientStream
}

type KubeOpsApi_WatchResultServer

type KubeOpsApi_WatchResultServer interface {
	Send(*WatchStream) error
	grpc.ServerStream
}

type ListProjectRequest

type ListProjectRequest struct {
	// contains filtered or unexported fields
}

func (*ListProjectRequest) Descriptor deprecated

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

Deprecated: Use ListProjectRequest.ProtoReflect.Descriptor instead.

func (*ListProjectRequest) ProtoMessage

func (*ListProjectRequest) ProtoMessage()

func (*ListProjectRequest) ProtoReflect

func (x *ListProjectRequest) ProtoReflect() protoreflect.Message

func (*ListProjectRequest) Reset

func (x *ListProjectRequest) Reset()

func (*ListProjectRequest) String

func (x *ListProjectRequest) String() string

type ListProjectResponse

type ListProjectResponse struct {
	Items []*Project `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectResponse) Descriptor deprecated

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

Deprecated: Use ListProjectResponse.ProtoReflect.Descriptor instead.

func (*ListProjectResponse) GetItems

func (x *ListProjectResponse) GetItems() []*Project

func (*ListProjectResponse) ProtoMessage

func (*ListProjectResponse) ProtoMessage()

func (*ListProjectResponse) ProtoReflect

func (x *ListProjectResponse) ProtoReflect() protoreflect.Message

func (*ListProjectResponse) Reset

func (x *ListProjectResponse) Reset()

func (*ListProjectResponse) String

func (x *ListProjectResponse) String() string

type ListResultRequest

type ListResultRequest struct {
	// contains filtered or unexported fields
}

func (*ListResultRequest) Descriptor deprecated

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

Deprecated: Use ListResultRequest.ProtoReflect.Descriptor instead.

func (*ListResultRequest) ProtoMessage

func (*ListResultRequest) ProtoMessage()

func (*ListResultRequest) ProtoReflect

func (x *ListResultRequest) ProtoReflect() protoreflect.Message

func (*ListResultRequest) Reset

func (x *ListResultRequest) Reset()

func (*ListResultRequest) String

func (x *ListResultRequest) String() string

type ListResultResponse

type ListResultResponse struct {
	Items []*Result `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResultResponse) Descriptor deprecated

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

Deprecated: Use ListResultResponse.ProtoReflect.Descriptor instead.

func (*ListResultResponse) GetItems

func (x *ListResultResponse) GetItems() []*Result

func (*ListResultResponse) ProtoMessage

func (*ListResultResponse) ProtoMessage()

func (*ListResultResponse) ProtoReflect

func (x *ListResultResponse) ProtoReflect() protoreflect.Message

func (*ListResultResponse) Reset

func (x *ListResultResponse) Reset()

func (*ListResultResponse) String

func (x *ListResultResponse) String() string

type Project

type Project struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Playbooks []string `protobuf:"bytes,2,rep,name=playbooks,proto3" json:"playbooks,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetPlaybooks

func (x *Project) GetPlaybooks() []string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProxyConfig

type ProxyConfig struct {
	Enable   bool   `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	User     string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Ip       string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Port     int32  `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig) Descriptor deprecated

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

Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.

func (*ProxyConfig) GetEnable

func (x *ProxyConfig) GetEnable() bool

func (*ProxyConfig) GetIp

func (x *ProxyConfig) GetIp() string

func (*ProxyConfig) GetPassword

func (x *ProxyConfig) GetPassword() string

func (*ProxyConfig) GetPort

func (x *ProxyConfig) GetPort() int32

func (*ProxyConfig) GetUser

func (x *ProxyConfig) GetUser() string

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) ProtoReflect

func (x *ProxyConfig) ProtoReflect() protoreflect.Message

func (*ProxyConfig) Reset

func (x *ProxyConfig) Reset()

func (*ProxyConfig) String

func (x *ProxyConfig) String() string

type Result

type Result struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	StartTime string `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   string `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Success   bool   `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
	Finished  bool   `protobuf:"varint,6,opt,name=finished,proto3" json:"finished,omitempty"`
	Content   string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	Project   string `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetContent

func (x *Result) GetContent() string

func (*Result) GetEndTime

func (x *Result) GetEndTime() string

func (*Result) GetFinished

func (x *Result) GetFinished() bool

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetMessage

func (x *Result) GetMessage() string

func (*Result) GetProject

func (x *Result) GetProject() string

func (*Result) GetStartTime

func (x *Result) GetStartTime() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type RunAdhocRequest

type RunAdhocRequest struct {
	Inventory *Inventory `protobuf:"bytes,1,opt,name=inventory,proto3" json:"inventory,omitempty"`
	Pattern   string     `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Module    string     `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	Param     string     `protobuf:"bytes,4,opt,name=param,proto3" json:"param,omitempty"`
	// contains filtered or unexported fields
}

func (*RunAdhocRequest) Descriptor deprecated

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

Deprecated: Use RunAdhocRequest.ProtoReflect.Descriptor instead.

func (*RunAdhocRequest) GetInventory

func (x *RunAdhocRequest) GetInventory() *Inventory

func (*RunAdhocRequest) GetModule

func (x *RunAdhocRequest) GetModule() string

func (*RunAdhocRequest) GetParam

func (x *RunAdhocRequest) GetParam() string

func (*RunAdhocRequest) GetPattern

func (x *RunAdhocRequest) GetPattern() string

func (*RunAdhocRequest) ProtoMessage

func (*RunAdhocRequest) ProtoMessage()

func (*RunAdhocRequest) ProtoReflect

func (x *RunAdhocRequest) ProtoReflect() protoreflect.Message

func (*RunAdhocRequest) Reset

func (x *RunAdhocRequest) Reset()

func (*RunAdhocRequest) String

func (x *RunAdhocRequest) String() string

type RunAdhocResult

type RunAdhocResult struct {
	Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RunAdhocResult) Descriptor deprecated

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

Deprecated: Use RunAdhocResult.ProtoReflect.Descriptor instead.

func (*RunAdhocResult) GetResult

func (x *RunAdhocResult) GetResult() *Result

func (*RunAdhocResult) ProtoMessage

func (*RunAdhocResult) ProtoMessage()

func (*RunAdhocResult) ProtoReflect

func (x *RunAdhocResult) ProtoReflect() protoreflect.Message

func (*RunAdhocResult) Reset

func (x *RunAdhocResult) Reset()

func (*RunAdhocResult) String

func (x *RunAdhocResult) String() string

type RunPlaybookRequest

type RunPlaybookRequest struct {
	Project   string     `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Playbook  string     `protobuf:"bytes,2,opt,name=playbook,proto3" json:"playbook,omitempty"`
	Inventory *Inventory `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
	Tag       string     `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RunPlaybookRequest) Descriptor deprecated

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

Deprecated: Use RunPlaybookRequest.ProtoReflect.Descriptor instead.

func (*RunPlaybookRequest) GetInventory

func (x *RunPlaybookRequest) GetInventory() *Inventory

func (*RunPlaybookRequest) GetPlaybook

func (x *RunPlaybookRequest) GetPlaybook() string

func (*RunPlaybookRequest) GetProject

func (x *RunPlaybookRequest) GetProject() string

func (*RunPlaybookRequest) GetTag

func (x *RunPlaybookRequest) GetTag() string

func (*RunPlaybookRequest) ProtoMessage

func (*RunPlaybookRequest) ProtoMessage()

func (*RunPlaybookRequest) ProtoReflect

func (x *RunPlaybookRequest) ProtoReflect() protoreflect.Message

func (*RunPlaybookRequest) Reset

func (x *RunPlaybookRequest) Reset()

func (*RunPlaybookRequest) String

func (x *RunPlaybookRequest) String() string

type RunPlaybookResult

type RunPlaybookResult struct {
	Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RunPlaybookResult) Descriptor deprecated

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

Deprecated: Use RunPlaybookResult.ProtoReflect.Descriptor instead.

func (*RunPlaybookResult) GetResult

func (x *RunPlaybookResult) GetResult() *Result

func (*RunPlaybookResult) ProtoMessage

func (*RunPlaybookResult) ProtoMessage()

func (*RunPlaybookResult) ProtoReflect

func (x *RunPlaybookResult) ProtoReflect() protoreflect.Message

func (*RunPlaybookResult) Reset

func (x *RunPlaybookResult) Reset()

func (*RunPlaybookResult) String

func (x *RunPlaybookResult) String() string

type UnimplementedKubeOpsApiServer

type UnimplementedKubeOpsApiServer struct {
}

UnimplementedKubeOpsApiServer must be embedded to have forward compatible implementations.

func (UnimplementedKubeOpsApiServer) CreateProject

func (UnimplementedKubeOpsApiServer) GetInventory

func (UnimplementedKubeOpsApiServer) GetResult

func (UnimplementedKubeOpsApiServer) Health

func (UnimplementedKubeOpsApiServer) ListProject

func (UnimplementedKubeOpsApiServer) ListResult

func (UnimplementedKubeOpsApiServer) RunAdhoc

func (UnimplementedKubeOpsApiServer) RunPlaybook

func (UnimplementedKubeOpsApiServer) WatchResult

type UnsafeKubeOpsApiServer

type UnsafeKubeOpsApiServer interface {
	// contains filtered or unexported methods
}

UnsafeKubeOpsApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KubeOpsApiServer will result in compilation errors.

type WatchRequest

type WatchRequest struct {
	TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) GetTaskId

func (x *WatchRequest) GetTaskId() string

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect

func (x *WatchRequest) ProtoReflect() protoreflect.Message

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) String

func (x *WatchRequest) String() string

type WatchStream

type WatchStream struct {
	Stream []byte `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchStream) Descriptor deprecated

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

Deprecated: Use WatchStream.ProtoReflect.Descriptor instead.

func (*WatchStream) GetStream

func (x *WatchStream) GetStream() []byte

func (*WatchStream) ProtoMessage

func (*WatchStream) ProtoMessage()

func (*WatchStream) ProtoReflect

func (x *WatchStream) ProtoReflect() protoreflect.Message

func (*WatchStream) Reset

func (x *WatchStream) Reset()

func (*WatchStream) String

func (x *WatchStream) String() string

Jump to

Keyboard shortcuts

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