grpc

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ip.v1alpha1.DatabaseService",
	HandlerType: (*DatabaseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDatabase",
			Handler:    _DatabaseService_CreateDatabase_Handler,
		},
		{
			MethodName: "GetDatabase",
			Handler:    _DatabaseService_GetDatabase_Handler,
		},
		{
			MethodName: "DeleteDatabase",
			Handler:    _DatabaseService_DeleteDatabase_Handler,
		},
		{
			MethodName: "ListDatabase",
			Handler:    _DatabaseService_ListDatabase_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "database.proto",
}

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

View Source
var DomainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.v1alpha1.DomainService",
	HandlerType: (*DomainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDomain",
			Handler:    _DomainService_CreateDomain_Handler,
		},
		{
			MethodName: "GetDomain",
			Handler:    _DomainService_GetDomain_Handler,
		},
		{
			MethodName: "DeleteDomain",
			Handler:    _DomainService_DeleteDomain_Handler,
		},
		{
			MethodName: "ListDomains",
			Handler:    _DomainService_ListDomains_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "domain.proto",
}

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

View Source
var File_database_proto protoreflect.FileDescriptor
View Source
var File_domain_proto protoreflect.FileDescriptor
View Source
var File_firewall_proto protoreflect.FileDescriptor
View Source
var File_kubernetescluster_proto protoreflect.FileDescriptor
View Source
var File_login_proto protoreflect.FileDescriptor
View Source
var File_namespace_proto protoreflect.FileDescriptor
View Source
var File_objectstorage_credential_proto protoreflect.FileDescriptor
View Source
var File_objectstorage_proto protoreflect.FileDescriptor
View Source
var File_options_proto protoreflect.FileDescriptor
View Source
var File_sshkey_proto protoreflect.FileDescriptor
View Source
var File_virtualmachine_proto protoreflect.FileDescriptor
View Source
var FirewallService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "firewall.v1alpha1.FirewallService",
	HandlerType: (*FirewallServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateFirewall",
			Handler:    _FirewallService_CreateFirewall_Handler,
		},
		{
			MethodName: "DeleteFirewall",
			Handler:    _FirewallService_DeleteFirewall_Handler,
		},
		{
			MethodName: "GetFirewall",
			Handler:    _FirewallService_GetFirewall_Handler,
		},
		{
			MethodName: "ListFirewall",
			Handler:    _FirewallService_ListFirewall_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "firewall.proto",
}

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

View Source
var IpService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ip.v1alpha1.IpService",
	HandlerType: (*IpServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateIp",
			Handler:    _IpService_CreateIp_Handler,
		},
		{
			MethodName: "DeleteIp",
			Handler:    _IpService_DeleteIp_Handler,
		},
		{
			MethodName: "GetIp",
			Handler:    _IpService_GetIp_Handler,
		},
		{
			MethodName: "ListIp",
			Handler:    _IpService_ListIp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ip.proto",
}

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

View Source
var KubernetesClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kubernetescluster.v1alpha1.KubernetesClusterService",
	HandlerType: (*KubernetesClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateKubernetesCluster",
			Handler:    _KubernetesClusterService_CreateKubernetesCluster_Handler,
		},
		{
			MethodName: "GetKubernetesCluster",
			Handler:    _KubernetesClusterService_GetKubernetesCluster_Handler,
		},
		{
			MethodName: "ListKubernetesCluster",
			Handler:    _KubernetesClusterService_ListKubernetesCluster_Handler,
		},
		{
			MethodName: "UpdateKubernetesCluster",
			Handler:    _KubernetesClusterService_UpdateKubernetesCluster_Handler,
		},
		{
			MethodName: "DeleteKubernetesCluster",
			Handler:    _KubernetesClusterService_DeleteKubernetesCluster_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kubernetescluster.proto",
}

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

View Source
var Login_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.v1alpha1.Login",
	HandlerType: (*LoginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _Login_Check_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "login.proto",
}

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

View Source
var NamespaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "namespace.v1alpha1.NamespaceService",
	HandlerType: (*NamespaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNamespace",
			Handler:    _NamespaceService_CreateNamespace_Handler,
		},
		{
			MethodName: "GetNamespace",
			Handler:    _NamespaceService_GetNamespace_Handler,
		},
		{
			MethodName: "UpdateNamespace",
			Handler:    _NamespaceService_UpdateNamespace_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _NamespaceService_DeleteNamespace_Handler,
		},
		{
			MethodName: "ListNamespace",
			Handler:    _NamespaceService_ListNamespace_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "namespace.proto",
}

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

View Source
var ObjectStorageCredentialService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "objectstorageCredential.v1alpha1.ObjectStorageCredentialService",
	HandlerType: (*ObjectStorageCredentialServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateObjectStorageCredential",
			Handler:    _ObjectStorageCredentialService_CreateObjectStorageCredential_Handler,
		},
		{
			MethodName: "DeleteObjectStorageCredential",
			Handler:    _ObjectStorageCredentialService_DeleteObjectStorageCredential_Handler,
		},
		{
			MethodName: "GetObjectStorageCredential",
			Handler:    _ObjectStorageCredentialService_GetObjectStorageCredential_Handler,
		},
		{
			MethodName: "ListObjectStorageCredential",
			Handler:    _ObjectStorageCredentialService_ListObjectStorageCredential_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "objectstorage_credential.proto",
}

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

View Source
var ObjectStorageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "objectstorage.v1alpha1.ObjectStorageService",
	HandlerType: (*ObjectStorageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateObjectStorage",
			Handler:    _ObjectStorageService_CreateObjectStorage_Handler,
		},
		{
			MethodName: "DeleteObjectStorage",
			Handler:    _ObjectStorageService_DeleteObjectStorage_Handler,
		},
		{
			MethodName: "GetObjectStorage",
			Handler:    _ObjectStorageService_GetObjectStorage_Handler,
		},
		{
			MethodName: "ListObjectStorage",
			Handler:    _ObjectStorageService_ListObjectStorage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "objectstorage.proto",
}

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

View Source
var SSHKeyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sshkey.v1alpha1.SSHKeyService",
	HandlerType: (*SSHKeyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSSHKey",
			Handler:    _SSHKeyService_CreateSSHKey_Handler,
		},
		{
			MethodName: "GetSSHKey",
			Handler:    _SSHKeyService_GetSSHKey_Handler,
		},
		{
			MethodName: "DeleteSSHKey",
			Handler:    _SSHKeyService_DeleteSSHKey_Handler,
		},
		{
			MethodName: "ListSSHKey",
			Handler:    _SSHKeyService_ListSSHKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sshkey.proto",
}

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

View Source
var VirtualMachineService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "virtualmachine.v1alpha1.VirtualMachineService",
	HandlerType: (*VirtualMachineServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateVirtualMachine",
			Handler:    _VirtualMachineService_CreateVirtualMachine_Handler,
		},
		{
			MethodName: "GetVirtualMachine",
			Handler:    _VirtualMachineService_GetVirtualMachine_Handler,
		},
		{
			MethodName: "ListVirtualMachine",
			Handler:    _VirtualMachineService_ListVirtualMachine_Handler,
		},
		{
			MethodName: "DeleteVirtualMachine",
			Handler:    _VirtualMachineService_DeleteVirtualMachine_Handler,
		},
		{
			MethodName: "UpdateVirtualMachine",
			Handler:    _VirtualMachineService_UpdateVirtualMachine_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "virtualmachine.proto",
}

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

Functions

func RegisterDatabaseServiceServer added in v0.1.1

func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)

func RegisterDomainServiceServer

func RegisterDomainServiceServer(s grpc.ServiceRegistrar, srv DomainServiceServer)

func RegisterFirewallServiceServer

func RegisterFirewallServiceServer(s grpc.ServiceRegistrar, srv FirewallServiceServer)

func RegisterIpServiceServer added in v0.1.1

func RegisterIpServiceServer(s grpc.ServiceRegistrar, srv IpServiceServer)

func RegisterKubernetesClusterServiceServer

func RegisterKubernetesClusterServiceServer(s grpc.ServiceRegistrar, srv KubernetesClusterServiceServer)

func RegisterLoginServer

func RegisterLoginServer(s grpc.ServiceRegistrar, srv LoginServer)

func RegisterNamespaceServiceServer

func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)

func RegisterObjectStorageCredentialServiceServer added in v0.1.1

func RegisterObjectStorageCredentialServiceServer(s grpc.ServiceRegistrar, srv ObjectStorageCredentialServiceServer)

func RegisterObjectStorageServiceServer added in v0.1.1

func RegisterObjectStorageServiceServer(s grpc.ServiceRegistrar, srv ObjectStorageServiceServer)

func RegisterSSHKeyServiceServer

func RegisterSSHKeyServiceServer(s grpc.ServiceRegistrar, srv SSHKeyServiceServer)

func RegisterVirtualMachineServiceServer

func RegisterVirtualMachineServiceServer(s grpc.ServiceRegistrar, srv VirtualMachineServiceServer)

Types

type AssignedTo added in v0.1.1

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

func (*AssignedTo) Descriptor deprecated added in v0.1.1

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

Deprecated: Use AssignedTo.ProtoReflect.Descriptor instead.

func (*AssignedTo) GetId added in v0.1.1

func (x *AssignedTo) GetId() string

func (*AssignedTo) GetName added in v0.1.1

func (x *AssignedTo) GetName() string

func (*AssignedTo) GetType added in v0.1.1

func (x *AssignedTo) GetType() string

func (*AssignedTo) ProtoMessage added in v0.1.1

func (*AssignedTo) ProtoMessage()

func (*AssignedTo) ProtoReflect added in v0.1.1

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

func (*AssignedTo) Reset added in v0.1.1

func (x *AssignedTo) Reset()

func (*AssignedTo) String added in v0.1.1

func (x *AssignedTo) String() string

type Database added in v0.1.1

type Database struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a database.
	// +optional
	Spec *DatabaseSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a database.
	// +optional
	Status *DatabaseStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Database) Descriptor deprecated added in v0.1.1

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetMetadata added in v0.1.1

func (x *Database) GetMetadata() *v1.ObjectMeta

func (*Database) GetSpec added in v0.1.1

func (x *Database) GetSpec() *DatabaseSpec

func (*Database) GetStatus added in v0.1.1

func (x *Database) GetStatus() *DatabaseStatus

func (*Database) ProtoMessage added in v0.1.1

func (*Database) ProtoMessage()

func (*Database) ProtoReflect added in v0.1.1

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

func (*Database) Reset added in v0.1.1

func (x *Database) Reset()

func (*Database) String added in v0.1.1

func (x *Database) String() string

type DatabaseList added in v0.1.1

type DatabaseList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of Database
	Items []*Database `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseList) Descriptor deprecated added in v0.1.1

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

Deprecated: Use DatabaseList.ProtoReflect.Descriptor instead.

func (*DatabaseList) GetItems added in v0.1.1

func (x *DatabaseList) GetItems() []*Database

func (*DatabaseList) GetMetadata added in v0.1.1

func (x *DatabaseList) GetMetadata() *v1.ListMeta

func (*DatabaseList) ProtoMessage added in v0.1.1

func (*DatabaseList) ProtoMessage()

func (*DatabaseList) ProtoReflect added in v0.1.1

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

func (*DatabaseList) Reset added in v0.1.1

func (x *DatabaseList) Reset()

func (*DatabaseList) String added in v0.1.1

func (x *DatabaseList) String() string

type DatabaseServiceClient added in v0.1.1

type DatabaseServiceClient interface {
	CreateDatabase(ctx context.Context, in *Database, opts ...grpc.CallOption) (*Database, error)
	GetDatabase(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Database, error)
	// rpc UpdateDatabase(Database) returns (Database) {}
	DeleteDatabase(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Database, error)
	ListDatabase(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*DatabaseList, error)
}

DatabaseServiceClient is the client API for DatabaseService 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 NewDatabaseServiceClient added in v0.1.1

func NewDatabaseServiceClient(cc grpc.ClientConnInterface) DatabaseServiceClient

type DatabaseServiceServer added in v0.1.1

type DatabaseServiceServer interface {
	CreateDatabase(context.Context, *Database) (*Database, error)
	GetDatabase(context.Context, *FilterOptions) (*Database, error)
	// rpc UpdateDatabase(Database) returns (Database) {}
	DeleteDatabase(context.Context, *FilterOptions) (*Database, error)
	ListDatabase(context.Context, *FilterOptions) (*DatabaseList, error)
	// contains filtered or unexported methods
}

DatabaseServiceServer is the server API for DatabaseService service. All implementations must embed UnimplementedDatabaseServiceServer for forward compatibility

type DatabaseSpec added in v0.1.1

type DatabaseSpec struct {
	Nodes         int32  `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"`
	Size          string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
	Engine        string `protobuf:"bytes,3,opt,name=engine,proto3" json:"engine,omitempty"`
	EngineVersion string `protobuf:"bytes,4,opt,name=engineVersion,proto3" json:"engineVersion,omitempty"`
	Firewall      string `protobuf:"bytes,5,opt,name=firewall,proto3" json:"firewall,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseSpec) Descriptor deprecated added in v0.1.1

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

Deprecated: Use DatabaseSpec.ProtoReflect.Descriptor instead.

func (*DatabaseSpec) GetEngine added in v0.1.1

func (x *DatabaseSpec) GetEngine() string

func (*DatabaseSpec) GetEngineVersion added in v0.1.1

func (x *DatabaseSpec) GetEngineVersion() string

func (*DatabaseSpec) GetFirewall added in v0.1.1

func (x *DatabaseSpec) GetFirewall() string

func (*DatabaseSpec) GetNodes added in v0.1.1

func (x *DatabaseSpec) GetNodes() int32

func (*DatabaseSpec) GetSize added in v0.1.1

func (x *DatabaseSpec) GetSize() string

func (*DatabaseSpec) ProtoMessage added in v0.1.1

func (*DatabaseSpec) ProtoMessage()

func (*DatabaseSpec) ProtoReflect added in v0.1.1

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

func (*DatabaseSpec) Reset added in v0.1.1

func (x *DatabaseSpec) Reset()

func (*DatabaseSpec) String added in v0.1.1

func (x *DatabaseSpec) String() string

type DatabaseStatus added in v0.1.1

type DatabaseStatus struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Port     int32  `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	PublicIP string `protobuf:"bytes,4,opt,name=publicIP,proto3" json:"publicIP,omitempty"`
	State    string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseStatus) Descriptor deprecated added in v0.1.1

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

Deprecated: Use DatabaseStatus.ProtoReflect.Descriptor instead.

func (*DatabaseStatus) GetPassword added in v0.1.1

func (x *DatabaseStatus) GetPassword() string

func (*DatabaseStatus) GetPort added in v0.1.1

func (x *DatabaseStatus) GetPort() int32

func (*DatabaseStatus) GetPublicIP added in v0.1.1

func (x *DatabaseStatus) GetPublicIP() string

func (*DatabaseStatus) GetState added in v0.1.1

func (x *DatabaseStatus) GetState() string

func (*DatabaseStatus) GetUsername added in v0.1.1

func (x *DatabaseStatus) GetUsername() string

func (*DatabaseStatus) ProtoMessage added in v0.1.1

func (*DatabaseStatus) ProtoMessage()

func (*DatabaseStatus) ProtoReflect added in v0.1.1

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

func (*DatabaseStatus) Reset added in v0.1.1

func (x *DatabaseStatus) Reset()

func (*DatabaseStatus) String added in v0.1.1

func (x *DatabaseStatus) String() string

type Domain

type Domain struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a domain.
	// +optional
	Spec *DomainSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a domain. This data may be out of date.
	// +optional
	Status *DomainStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Domain) Descriptor deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetMetadata

func (x *Domain) GetMetadata() *v1.ObjectMeta

func (*Domain) GetSpec

func (x *Domain) GetSpec() *DomainSpec

func (*Domain) GetStatus

func (x *Domain) GetStatus() *DomainStatus

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

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

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

type DomainList

type DomainList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of domains
	Items []*Domain `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainList) Descriptor deprecated

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

Deprecated: Use DomainList.ProtoReflect.Descriptor instead.

func (*DomainList) GetItems

func (x *DomainList) GetItems() []*Domain

func (*DomainList) GetMetadata

func (x *DomainList) GetMetadata() *v1.ListMeta

func (*DomainList) ProtoMessage

func (*DomainList) ProtoMessage()

func (*DomainList) ProtoReflect

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

func (*DomainList) Reset

func (x *DomainList) Reset()

func (*DomainList) String

func (x *DomainList) String() string

type DomainServiceClient

type DomainServiceClient interface {
	CreateDomain(ctx context.Context, in *Domain, opts ...grpc.CallOption) (*Domain, error)
	GetDomain(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Domain, error)
	// rpc UpdateDomain(Domain) returns (Domain) {}
	DeleteDomain(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Domain, error)
	ListDomains(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*DomainList, error)
}

DomainServiceClient is the client API for DomainService 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.

type DomainServiceServer

type DomainServiceServer interface {
	CreateDomain(context.Context, *Domain) (*Domain, error)
	GetDomain(context.Context, *FilterOptions) (*Domain, error)
	// rpc UpdateDomain(Domain) returns (Domain) {}
	DeleteDomain(context.Context, *FilterOptions) (*Domain, error)
	ListDomains(context.Context, *FilterOptions) (*DomainList, error)
	// contains filtered or unexported methods
}

DomainServiceServer is the server API for DomainService service. All implementations must embed UnimplementedDomainServiceServer for forward compatibility

type DomainSpec

type DomainSpec struct {
	Records []*Records `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainSpec) Descriptor deprecated

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

Deprecated: Use DomainSpec.ProtoReflect.Descriptor instead.

func (*DomainSpec) GetRecords

func (x *DomainSpec) GetRecords() []*Records

func (*DomainSpec) ProtoMessage

func (*DomainSpec) ProtoMessage()

func (*DomainSpec) ProtoReflect

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

func (*DomainSpec) Reset

func (x *DomainSpec) Reset()

func (*DomainSpec) String

func (x *DomainSpec) String() string

type DomainStatus

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

func (*DomainStatus) Descriptor deprecated

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

Deprecated: Use DomainStatus.ProtoReflect.Descriptor instead.

func (*DomainStatus) GetState

func (x *DomainStatus) GetState() string

func (*DomainStatus) ProtoMessage

func (*DomainStatus) ProtoMessage()

func (*DomainStatus) ProtoReflect

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

func (*DomainStatus) Reset

func (x *DomainStatus) Reset()

func (*DomainStatus) String

func (x *DomainStatus) String() string

type FilterOptions

type FilterOptions struct {

	// ID is the ID of the resource to filter by
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name is the name of the resource to filter by
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Namespace is the namespace of the resource to filter by
	Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

FilterOptions is the query options to a standard REST list call, and is shared

func (*FilterOptions) Descriptor deprecated

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

Deprecated: Use FilterOptions.ProtoReflect.Descriptor instead.

func (*FilterOptions) GetId

func (x *FilterOptions) GetId() string

func (*FilterOptions) GetName

func (x *FilterOptions) GetName() string

func (*FilterOptions) GetNamespace

func (x *FilterOptions) GetNamespace() string

func (*FilterOptions) ProtoMessage

func (*FilterOptions) ProtoMessage()

func (*FilterOptions) ProtoReflect

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

func (*FilterOptions) Reset

func (x *FilterOptions) Reset()

func (*FilterOptions) String

func (x *FilterOptions) String() string

type Firewall

type Firewall struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a domain.
	// +optional
	Spec *FirewallSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a domain. This data may be out of date.
	// +optional
	Status *FirewallStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Firewall) Descriptor deprecated

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

Deprecated: Use Firewall.ProtoReflect.Descriptor instead.

func (*Firewall) GetMetadata

func (x *Firewall) GetMetadata() *v1.ObjectMeta

func (*Firewall) GetSpec

func (x *Firewall) GetSpec() *FirewallSpec

func (*Firewall) GetStatus

func (x *Firewall) GetStatus() *FirewallStatus

func (*Firewall) ProtoMessage

func (*Firewall) ProtoMessage()

func (*Firewall) ProtoReflect

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

func (*Firewall) Reset

func (x *Firewall) Reset()

func (*Firewall) String

func (x *Firewall) String() string

type FirewallList

type FirewallList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of domains
	Items []*Firewall `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*FirewallList) Descriptor deprecated

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

Deprecated: Use FirewallList.ProtoReflect.Descriptor instead.

func (*FirewallList) GetItems

func (x *FirewallList) GetItems() []*Firewall

func (*FirewallList) GetMetadata

func (x *FirewallList) GetMetadata() *v1.ListMeta

func (*FirewallList) ProtoMessage

func (*FirewallList) ProtoMessage()

func (*FirewallList) ProtoReflect

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

func (*FirewallList) Reset

func (x *FirewallList) Reset()

func (*FirewallList) String

func (x *FirewallList) String() string

type FirewallRules

type FirewallRules struct {
	Source   []string `protobuf:"bytes,1,rep,name=source,proto3" json:"source,omitempty"`
	Label    string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Ports    string   `protobuf:"bytes,3,opt,name=ports,proto3" json:"ports,omitempty"`
	Protocol string   `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Action   string   `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*FirewallRules) Descriptor deprecated

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

Deprecated: Use FirewallRules.ProtoReflect.Descriptor instead.

func (*FirewallRules) GetAction

func (x *FirewallRules) GetAction() string

func (*FirewallRules) GetLabel

func (x *FirewallRules) GetLabel() string

func (*FirewallRules) GetPorts

func (x *FirewallRules) GetPorts() string

func (*FirewallRules) GetProtocol

func (x *FirewallRules) GetProtocol() string

func (*FirewallRules) GetSource

func (x *FirewallRules) GetSource() []string

func (*FirewallRules) ProtoMessage

func (*FirewallRules) ProtoMessage()

func (*FirewallRules) ProtoReflect

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

func (*FirewallRules) Reset

func (x *FirewallRules) Reset()

func (*FirewallRules) String

func (x *FirewallRules) String() string

type FirewallServiceClient

type FirewallServiceClient interface {
	CreateFirewall(ctx context.Context, in *Firewall, opts ...grpc.CallOption) (*Firewall, error)
	// rpc UpdateFirewall (Firewall) returns (Firewall) {}
	DeleteFirewall(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Firewall, error)
	GetFirewall(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Firewall, error)
	ListFirewall(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*FirewallList, error)
}

FirewallServiceClient is the client API for FirewallService 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.

type FirewallServiceServer

type FirewallServiceServer interface {
	CreateFirewall(context.Context, *Firewall) (*Firewall, error)
	// rpc UpdateFirewall (Firewall) returns (Firewall) {}
	DeleteFirewall(context.Context, *FilterOptions) (*Firewall, error)
	GetFirewall(context.Context, *FilterOptions) (*Firewall, error)
	ListFirewall(context.Context, *FilterOptions) (*FirewallList, error)
	// contains filtered or unexported methods
}

FirewallServiceServer is the server API for FirewallService service. All implementations must embed UnimplementedFirewallServiceServer for forward compatibility

type FirewallSpec

type FirewallSpec struct {
	Ingress []*FirewallRules `protobuf:"bytes,1,rep,name=ingress,proto3" json:"ingress,omitempty"`
	Egress  []*FirewallRules `protobuf:"bytes,2,rep,name=egress,proto3" json:"egress,omitempty"`
	// contains filtered or unexported fields
}

func (*FirewallSpec) Descriptor deprecated

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

Deprecated: Use FirewallSpec.ProtoReflect.Descriptor instead.

func (*FirewallSpec) GetEgress

func (x *FirewallSpec) GetEgress() []*FirewallRules

func (*FirewallSpec) GetIngress

func (x *FirewallSpec) GetIngress() []*FirewallRules

func (*FirewallSpec) ProtoMessage

func (*FirewallSpec) ProtoMessage()

func (*FirewallSpec) ProtoReflect

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

func (*FirewallSpec) Reset

func (x *FirewallSpec) Reset()

func (*FirewallSpec) String

func (x *FirewallSpec) String() string

type FirewallStatus

type FirewallStatus struct {

	// The status of the firewall
	State      string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	TotalRules string `protobuf:"bytes,2,opt,name=totalRules,proto3" json:"totalRules,omitempty"`
	// contains filtered or unexported fields
}

FirewallStatus

func (*FirewallStatus) Descriptor deprecated

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

Deprecated: Use FirewallStatus.ProtoReflect.Descriptor instead.

func (*FirewallStatus) GetState

func (x *FirewallStatus) GetState() string

func (*FirewallStatus) GetTotalRules added in v0.1.10

func (x *FirewallStatus) GetTotalRules() string

func (*FirewallStatus) ProtoMessage

func (*FirewallStatus) ProtoMessage()

func (*FirewallStatus) ProtoReflect

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

func (*FirewallStatus) Reset

func (x *FirewallStatus) Reset()

func (*FirewallStatus) String

func (x *FirewallStatus) String() string

type Ip added in v0.1.1

type Ip struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a IP.
	// +optional
	Spec *IpSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a IP.
	// +optional
	Status *IpStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Ip) Descriptor deprecated added in v0.1.1

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

Deprecated: Use Ip.ProtoReflect.Descriptor instead.

func (*Ip) GetMetadata added in v0.1.1

func (x *Ip) GetMetadata() *v1.ObjectMeta

func (*Ip) GetSpec added in v0.1.1

func (x *Ip) GetSpec() *IpSpec

func (*Ip) GetStatus added in v0.1.1

func (x *Ip) GetStatus() *IpStatus

func (*Ip) ProtoMessage added in v0.1.1

func (*Ip) ProtoMessage()

func (*Ip) ProtoReflect added in v0.1.1

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

func (*Ip) Reset added in v0.1.1

func (x *Ip) Reset()

func (*Ip) String added in v0.1.1

func (x *Ip) String() string

type IpList added in v0.1.1

type IpList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of IP
	Items []*Ip `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*IpList) Descriptor deprecated added in v0.1.1

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

Deprecated: Use IpList.ProtoReflect.Descriptor instead.

func (*IpList) GetItems added in v0.1.1

func (x *IpList) GetItems() []*Ip

func (*IpList) GetMetadata added in v0.1.1

func (x *IpList) GetMetadata() *v1.ListMeta

func (*IpList) ProtoMessage added in v0.1.1

func (*IpList) ProtoMessage()

func (*IpList) ProtoReflect added in v0.1.1

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

func (*IpList) Reset added in v0.1.1

func (x *IpList) Reset()

func (*IpList) String added in v0.1.1

func (x *IpList) String() string

type IpServiceClient added in v0.1.1

type IpServiceClient interface {
	CreateIp(ctx context.Context, in *Ip, opts ...grpc.CallOption) (*Ip, error)
	// rpc UpdateIp(Ip) returns (Ip) {}
	DeleteIp(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Ip, error)
	GetIp(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Ip, error)
	ListIp(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*IpList, error)
}

IpServiceClient is the client API for IpService 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 NewIpServiceClient added in v0.1.1

func NewIpServiceClient(cc grpc.ClientConnInterface) IpServiceClient

type IpServiceServer added in v0.1.1

type IpServiceServer interface {
	CreateIp(context.Context, *Ip) (*Ip, error)
	// rpc UpdateIp(Ip) returns (Ip) {}
	DeleteIp(context.Context, *FilterOptions) (*Ip, error)
	GetIp(context.Context, *FilterOptions) (*Ip, error)
	ListIp(context.Context, *FilterOptions) (*IpList, error)
	// contains filtered or unexported methods
}

IpServiceServer is the server API for IpService service. All implementations must embed UnimplementedIpServiceServer for forward compatibility

type IpSpec added in v0.1.1

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

func (*IpSpec) Descriptor deprecated added in v0.1.1

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

Deprecated: Use IpSpec.ProtoReflect.Descriptor instead.

func (*IpSpec) GetName added in v0.1.1

func (x *IpSpec) GetName() string

func (*IpSpec) ProtoMessage added in v0.1.1

func (*IpSpec) ProtoMessage()

func (*IpSpec) ProtoReflect added in v0.1.1

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

func (*IpSpec) Reset added in v0.1.1

func (x *IpSpec) Reset()

func (*IpSpec) String added in v0.1.1

func (x *IpSpec) String() string

type IpStatus added in v0.1.1

type IpStatus struct {
	Ip         string      `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Assignedto *AssignedTo `protobuf:"bytes,2,opt,name=assignedto,proto3" json:"assignedto,omitempty"`
	// contains filtered or unexported fields
}

func (*IpStatus) Descriptor deprecated added in v0.1.1

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

Deprecated: Use IpStatus.ProtoReflect.Descriptor instead.

func (*IpStatus) GetAssignedto added in v0.1.1

func (x *IpStatus) GetAssignedto() *AssignedTo

func (*IpStatus) GetIp added in v0.1.1

func (x *IpStatus) GetIp() string

func (*IpStatus) ProtoMessage added in v0.1.1

func (*IpStatus) ProtoMessage()

func (*IpStatus) ProtoReflect added in v0.1.1

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

func (*IpStatus) Reset added in v0.1.1

func (x *IpStatus) Reset()

func (*IpStatus) String added in v0.1.1

func (x *IpStatus) String() string

type KubernetesCluster

type KubernetesCluster struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// The spec of the KubernetesCluster.
	Spec *KubernetesClusterSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The status of the KubernetesCluster.
	Status *KubernetesClusterStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesCluster) Descriptor deprecated

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

Deprecated: Use KubernetesCluster.ProtoReflect.Descriptor instead.

func (*KubernetesCluster) GetMetadata

func (x *KubernetesCluster) GetMetadata() *v1.ObjectMeta

func (*KubernetesCluster) GetSpec

func (*KubernetesCluster) GetStatus

func (*KubernetesCluster) ProtoMessage

func (*KubernetesCluster) ProtoMessage()

func (*KubernetesCluster) ProtoReflect

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

func (*KubernetesCluster) Reset

func (x *KubernetesCluster) Reset()

func (*KubernetesCluster) String

func (x *KubernetesCluster) String() string

type KubernetesClusterList

type KubernetesClusterList struct {

	// Standard list metadata.
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Items is the list of VistualMachine.
	Items []*KubernetesCluster `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

KubernetesClusterList is a list of KubernetesCluster.

func (*KubernetesClusterList) Descriptor deprecated

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

Deprecated: Use KubernetesClusterList.ProtoReflect.Descriptor instead.

func (*KubernetesClusterList) GetItems

func (x *KubernetesClusterList) GetItems() []*KubernetesCluster

func (*KubernetesClusterList) GetMetadata

func (x *KubernetesClusterList) GetMetadata() *v1.ListMeta

func (*KubernetesClusterList) ProtoMessage

func (*KubernetesClusterList) ProtoMessage()

func (*KubernetesClusterList) ProtoReflect

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

func (*KubernetesClusterList) Reset

func (x *KubernetesClusterList) Reset()

func (*KubernetesClusterList) String

func (x *KubernetesClusterList) String() string

type KubernetesClusterPool

type KubernetesClusterPool struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Size        string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
	Count       int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Autoscaling bool   `protobuf:"varint,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
	MinSize     *int64 `protobuf:"varint,5,opt,name=minSize,proto3,oneof" json:"minSize,omitempty"`
	MaxSize     *int64 `protobuf:"varint,6,opt,name=maxSize,proto3,oneof" json:"maxSize,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesClusterPool) Descriptor deprecated

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

Deprecated: Use KubernetesClusterPool.ProtoReflect.Descriptor instead.

func (*KubernetesClusterPool) GetAutoscaling

func (x *KubernetesClusterPool) GetAutoscaling() bool

func (*KubernetesClusterPool) GetCount

func (x *KubernetesClusterPool) GetCount() int32

func (*KubernetesClusterPool) GetId

func (x *KubernetesClusterPool) GetId() string

func (*KubernetesClusterPool) GetMaxSize added in v0.1.10

func (x *KubernetesClusterPool) GetMaxSize() int64

func (*KubernetesClusterPool) GetMinSize added in v0.1.10

func (x *KubernetesClusterPool) GetMinSize() int64

func (*KubernetesClusterPool) GetSize

func (x *KubernetesClusterPool) GetSize() string

func (*KubernetesClusterPool) ProtoMessage

func (*KubernetesClusterPool) ProtoMessage()

func (*KubernetesClusterPool) ProtoReflect

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

func (*KubernetesClusterPool) Reset

func (x *KubernetesClusterPool) Reset()

func (*KubernetesClusterPool) String

func (x *KubernetesClusterPool) String() string

type KubernetesClusterServiceClient

type KubernetesClusterServiceClient interface {
	CreateKubernetesCluster(ctx context.Context, in *KubernetesCluster, opts ...grpc.CallOption) (*KubernetesCluster, error)
	GetKubernetesCluster(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*KubernetesCluster, error)
	ListKubernetesCluster(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*KubernetesClusterList, error)
	UpdateKubernetesCluster(ctx context.Context, in *KubernetesCluster, opts ...grpc.CallOption) (*KubernetesCluster, error)
	DeleteKubernetesCluster(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*KubernetesCluster, error)
}

KubernetesClusterServiceClient is the client API for KubernetesClusterService 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.

type KubernetesClusterServiceServer

type KubernetesClusterServiceServer interface {
	CreateKubernetesCluster(context.Context, *KubernetesCluster) (*KubernetesCluster, error)
	GetKubernetesCluster(context.Context, *FilterOptions) (*KubernetesCluster, error)
	ListKubernetesCluster(context.Context, *FilterOptions) (*KubernetesClusterList, error)
	UpdateKubernetesCluster(context.Context, *KubernetesCluster) (*KubernetesCluster, error)
	DeleteKubernetesCluster(context.Context, *FilterOptions) (*KubernetesCluster, error)
	// contains filtered or unexported methods
}

KubernetesClusterServiceServer is the server API for KubernetesClusterService service. All implementations must embed UnimplementedKubernetesClusterServiceServer for forward compatibility

type KubernetesClusterSpec

type KubernetesClusterSpec struct {
	Pools       []*KubernetesClusterPool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"`
	Version     string                   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Firewall    string                   `protobuf:"bytes,3,opt,name=firewall,proto3" json:"firewall,omitempty"`
	CniPlugin   string                   `protobuf:"bytes,4,opt,name=cniPlugin,proto3" json:"cniPlugin,omitempty"`
	ClusterType string                   `protobuf:"bytes,5,opt,name=clusterType,proto3" json:"clusterType,omitempty"`
	Kubeconfig  string                   `protobuf:"bytes,6,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesClusterSpec) Descriptor deprecated

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

Deprecated: Use KubernetesClusterSpec.ProtoReflect.Descriptor instead.

func (*KubernetesClusterSpec) GetClusterType added in v0.1.10

func (x *KubernetesClusterSpec) GetClusterType() string

func (*KubernetesClusterSpec) GetCniPlugin added in v0.1.10

func (x *KubernetesClusterSpec) GetCniPlugin() string

func (*KubernetesClusterSpec) GetFirewall

func (x *KubernetesClusterSpec) GetFirewall() string

func (*KubernetesClusterSpec) GetKubeconfig added in v0.1.5

func (x *KubernetesClusterSpec) GetKubeconfig() string

func (*KubernetesClusterSpec) GetPools

func (*KubernetesClusterSpec) GetVersion

func (x *KubernetesClusterSpec) GetVersion() string

func (*KubernetesClusterSpec) ProtoMessage

func (*KubernetesClusterSpec) ProtoMessage()

func (*KubernetesClusterSpec) ProtoReflect

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

func (*KubernetesClusterSpec) Reset

func (x *KubernetesClusterSpec) Reset()

func (*KubernetesClusterSpec) String

func (x *KubernetesClusterSpec) String() string

type KubernetesClusterStatus

type KubernetesClusterStatus struct {
	State    string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	PublicIP string `protobuf:"bytes,3,opt,name=publicIP,proto3" json:"publicIP,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesClusterStatus) Descriptor deprecated

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

Deprecated: Use KubernetesClusterStatus.ProtoReflect.Descriptor instead.

func (*KubernetesClusterStatus) GetEndpoint

func (x *KubernetesClusterStatus) GetEndpoint() string

func (*KubernetesClusterStatus) GetPublicIP added in v0.1.10

func (x *KubernetesClusterStatus) GetPublicIP() string

func (*KubernetesClusterStatus) GetState

func (x *KubernetesClusterStatus) GetState() string

func (*KubernetesClusterStatus) ProtoMessage

func (*KubernetesClusterStatus) ProtoMessage()

func (*KubernetesClusterStatus) ProtoReflect

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

func (*KubernetesClusterStatus) Reset

func (x *KubernetesClusterStatus) Reset()

func (*KubernetesClusterStatus) String

func (x *KubernetesClusterStatus) String() string

type LoginClient

type LoginClient interface {
	// Check is the method to check the token
	Check(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
}

LoginClient is the client API for Login 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 NewLoginClient

func NewLoginClient(cc grpc.ClientConnInterface) LoginClient

type LoginRequest

type LoginRequest struct {

	// Token is the token from the shim
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

AuthRequest is the request from the shim to the provider

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetToken

func (x *LoginRequest) GetToken() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {

	// valid is the flag to indicate if the token is valid
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

AuthResponse is the response from the provider to the shim

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetValid

func (x *LoginResponse) GetValid() bool

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LoginServer

type LoginServer interface {
	// Check is the method to check the token
	Check(context.Context, *LoginRequest) (*LoginResponse, error)
	// contains filtered or unexported methods
}

LoginServer is the server API for Login service. All implementations must embed UnimplementedLoginServer for forward compatibility

type Namespace

type Namespace struct {

	// TODO: Add the typemeta
	ApiVersion string `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of the Namespace.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *v11.NamespaceSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status describes the current status of a Namespace.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *v11.NamespaceStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Namespace provides a scope for Names. Use of multiple namespaces is optional.

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetApiVersion

func (x *Namespace) GetApiVersion() string

func (*Namespace) GetKind

func (x *Namespace) GetKind() string

func (*Namespace) GetMetadata

func (x *Namespace) GetMetadata() *v1.ObjectMeta

func (*Namespace) GetSpec

func (x *Namespace) GetSpec() *v11.NamespaceSpec

func (*Namespace) GetStatus

func (x *Namespace) GetStatus() *v11.NamespaceStatus

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

type NamespaceList

type NamespaceList struct {
	ApiVersion string `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind       string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Items is the list of Namespace objects in the list.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Items []*Namespace `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

NamespaceList is a list of Namespaces.

func (*NamespaceList) Descriptor deprecated

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

Deprecated: Use NamespaceList.ProtoReflect.Descriptor instead.

func (*NamespaceList) GetApiVersion

func (x *NamespaceList) GetApiVersion() string

func (*NamespaceList) GetItems

func (x *NamespaceList) GetItems() []*Namespace

func (*NamespaceList) GetKind

func (x *NamespaceList) GetKind() string

func (*NamespaceList) GetMetadata

func (x *NamespaceList) GetMetadata() *v1.ListMeta

func (*NamespaceList) ProtoMessage

func (*NamespaceList) ProtoMessage()

func (*NamespaceList) ProtoReflect

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

func (*NamespaceList) Reset

func (x *NamespaceList) Reset()

func (*NamespaceList) String

func (x *NamespaceList) String() string

type NamespaceServiceClient

type NamespaceServiceClient interface {
	CreateNamespace(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*Namespace, error)
	GetNamespace(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Namespace, error)
	UpdateNamespace(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*Namespace, error)
	DeleteNamespace(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*Namespace, error)
	ListNamespace(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*NamespaceList, error)
}

NamespaceServiceClient is the client API for NamespaceService 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.

type NamespaceServiceServer

type NamespaceServiceServer interface {
	CreateNamespace(context.Context, *Namespace) (*Namespace, error)
	GetNamespace(context.Context, *FilterOptions) (*Namespace, error)
	UpdateNamespace(context.Context, *Namespace) (*Namespace, error)
	DeleteNamespace(context.Context, *FilterOptions) (*Namespace, error)
	ListNamespace(context.Context, *FilterOptions) (*NamespaceList, error)
	// contains filtered or unexported methods
}

NamespaceServiceServer is the server API for NamespaceService service. All implementations must embed UnimplementedNamespaceServiceServer for forward compatibility

type ObjectStorage added in v0.1.1

type ObjectStorage struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a domain.
	// +optional
	Spec *ObjectStorageSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a domain. This data may be out of date.
	// +optional
	Status *ObjectStorageStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorage) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorage.ProtoReflect.Descriptor instead.

func (*ObjectStorage) GetMetadata added in v0.1.1

func (x *ObjectStorage) GetMetadata() *v1.ObjectMeta

func (*ObjectStorage) GetSpec added in v0.1.1

func (x *ObjectStorage) GetSpec() *ObjectStorageSpec

func (*ObjectStorage) GetStatus added in v0.1.1

func (x *ObjectStorage) GetStatus() *ObjectStorageStatus

func (*ObjectStorage) ProtoMessage added in v0.1.1

func (*ObjectStorage) ProtoMessage()

func (*ObjectStorage) ProtoReflect added in v0.1.1

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

func (*ObjectStorage) Reset added in v0.1.1

func (x *ObjectStorage) Reset()

func (*ObjectStorage) String added in v0.1.1

func (x *ObjectStorage) String() string

type ObjectStorageCredential added in v0.1.1

type ObjectStorageCredential struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a domain.
	// +optional
	Spec *ObjectStorageCredentialSpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a domain. This data may be out of date.
	// +optional
	Status *ObjectStorageCredentialStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageCredential) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageCredential.ProtoReflect.Descriptor instead.

func (*ObjectStorageCredential) GetMetadata added in v0.1.1

func (x *ObjectStorageCredential) GetMetadata() *v1.ObjectMeta

func (*ObjectStorageCredential) GetSpec added in v0.1.1

func (*ObjectStorageCredential) GetStatus added in v0.1.1

func (*ObjectStorageCredential) ProtoMessage added in v0.1.1

func (*ObjectStorageCredential) ProtoMessage()

func (*ObjectStorageCredential) ProtoReflect added in v0.1.1

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

func (*ObjectStorageCredential) Reset added in v0.1.1

func (x *ObjectStorageCredential) Reset()

func (*ObjectStorageCredential) String added in v0.1.1

func (x *ObjectStorageCredential) String() string

type ObjectStorageCredentialList added in v0.1.1

type ObjectStorageCredentialList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of domains
	Items []*ObjectStorageCredential `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageCredentialList) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageCredentialList.ProtoReflect.Descriptor instead.

func (*ObjectStorageCredentialList) GetItems added in v0.1.1

func (*ObjectStorageCredentialList) GetMetadata added in v0.1.1

func (x *ObjectStorageCredentialList) GetMetadata() *v1.ListMeta

func (*ObjectStorageCredentialList) ProtoMessage added in v0.1.1

func (*ObjectStorageCredentialList) ProtoMessage()

func (*ObjectStorageCredentialList) ProtoReflect added in v0.1.1

func (*ObjectStorageCredentialList) Reset added in v0.1.1

func (x *ObjectStorageCredentialList) Reset()

func (*ObjectStorageCredentialList) String added in v0.1.1

func (x *ObjectStorageCredentialList) String() string

type ObjectStorageCredentialServiceClient added in v0.1.1

type ObjectStorageCredentialServiceClient interface {
	CreateObjectStorageCredential(ctx context.Context, in *ObjectStorageCredential, opts ...grpc.CallOption) (*ObjectStorageCredential, error)
	// rpc UpdateObjectStorageCredential(ObjectStorageCredential) returns (ObjectStorageCredential) {}
	DeleteObjectStorageCredential(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorageCredential, error)
	GetObjectStorageCredential(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorageCredential, error)
	ListObjectStorageCredential(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorageCredentialList, error)
}

ObjectStorageCredentialServiceClient is the client API for ObjectStorageCredentialService 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 NewObjectStorageCredentialServiceClient added in v0.1.1

func NewObjectStorageCredentialServiceClient(cc grpc.ClientConnInterface) ObjectStorageCredentialServiceClient

type ObjectStorageCredentialServiceServer added in v0.1.1

type ObjectStorageCredentialServiceServer interface {
	CreateObjectStorageCredential(context.Context, *ObjectStorageCredential) (*ObjectStorageCredential, error)
	// rpc UpdateObjectStorageCredential(ObjectStorageCredential) returns (ObjectStorageCredential) {}
	DeleteObjectStorageCredential(context.Context, *FilterOptions) (*ObjectStorageCredential, error)
	GetObjectStorageCredential(context.Context, *FilterOptions) (*ObjectStorageCredential, error)
	ListObjectStorageCredential(context.Context, *FilterOptions) (*ObjectStorageCredentialList, error)
	// contains filtered or unexported methods
}

ObjectStorageCredentialServiceServer is the server API for ObjectStorageCredentialService service. All implementations must embed UnimplementedObjectStorageCredentialServiceServer for forward compatibility

type ObjectStorageCredentialSpec added in v0.1.1

type ObjectStorageCredentialSpec struct {
	AccessKey string `protobuf:"bytes,1,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
	SecretKey string `protobuf:"bytes,2,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageCredentialSpec) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageCredentialSpec.ProtoReflect.Descriptor instead.

func (*ObjectStorageCredentialSpec) GetAccessKey added in v0.1.10

func (x *ObjectStorageCredentialSpec) GetAccessKey() string

func (*ObjectStorageCredentialSpec) GetSecretKey added in v0.1.10

func (x *ObjectStorageCredentialSpec) GetSecretKey() string

func (*ObjectStorageCredentialSpec) ProtoMessage added in v0.1.1

func (*ObjectStorageCredentialSpec) ProtoMessage()

func (*ObjectStorageCredentialSpec) ProtoReflect added in v0.1.1

func (*ObjectStorageCredentialSpec) Reset added in v0.1.1

func (x *ObjectStorageCredentialSpec) Reset()

func (*ObjectStorageCredentialSpec) String added in v0.1.1

func (x *ObjectStorageCredentialSpec) String() string

type ObjectStorageCredentialStatus added in v0.1.1

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

func (*ObjectStorageCredentialStatus) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageCredentialStatus.ProtoReflect.Descriptor instead.

func (*ObjectStorageCredentialStatus) GetState added in v0.1.1

func (x *ObjectStorageCredentialStatus) GetState() string

func (*ObjectStorageCredentialStatus) ProtoMessage added in v0.1.1

func (*ObjectStorageCredentialStatus) ProtoMessage()

func (*ObjectStorageCredentialStatus) ProtoReflect added in v0.1.1

func (*ObjectStorageCredentialStatus) Reset added in v0.1.1

func (x *ObjectStorageCredentialStatus) Reset()

func (*ObjectStorageCredentialStatus) String added in v0.1.1

type ObjectStorageList added in v0.1.1

type ObjectStorageList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of domains
	Items []*ObjectStorage `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageList) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageList.ProtoReflect.Descriptor instead.

func (*ObjectStorageList) GetItems added in v0.1.1

func (x *ObjectStorageList) GetItems() []*ObjectStorage

func (*ObjectStorageList) GetMetadata added in v0.1.1

func (x *ObjectStorageList) GetMetadata() *v1.ListMeta

func (*ObjectStorageList) ProtoMessage added in v0.1.1

func (*ObjectStorageList) ProtoMessage()

func (*ObjectStorageList) ProtoReflect added in v0.1.1

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

func (*ObjectStorageList) Reset added in v0.1.1

func (x *ObjectStorageList) Reset()

func (*ObjectStorageList) String added in v0.1.1

func (x *ObjectStorageList) String() string

type ObjectStorageServiceClient added in v0.1.1

type ObjectStorageServiceClient interface {
	CreateObjectStorage(ctx context.Context, in *ObjectStorage, opts ...grpc.CallOption) (*ObjectStorage, error)
	// rpc UpdateObjectStorage(ObjectStorage) returns (ObjectStorage) {}
	DeleteObjectStorage(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorage, error)
	GetObjectStorage(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorage, error)
	ListObjectStorage(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*ObjectStorageList, error)
}

ObjectStorageServiceClient is the client API for ObjectStorageService 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 NewObjectStorageServiceClient added in v0.1.1

func NewObjectStorageServiceClient(cc grpc.ClientConnInterface) ObjectStorageServiceClient

type ObjectStorageServiceServer added in v0.1.1

type ObjectStorageServiceServer interface {
	CreateObjectStorage(context.Context, *ObjectStorage) (*ObjectStorage, error)
	// rpc UpdateObjectStorage(ObjectStorage) returns (ObjectStorage) {}
	DeleteObjectStorage(context.Context, *FilterOptions) (*ObjectStorage, error)
	GetObjectStorage(context.Context, *FilterOptions) (*ObjectStorage, error)
	ListObjectStorage(context.Context, *FilterOptions) (*ObjectStorageList, error)
	// contains filtered or unexported methods
}

ObjectStorageServiceServer is the server API for ObjectStorageService service. All implementations must embed UnimplementedObjectStorageServiceServer for forward compatibility

type ObjectStorageSpec added in v0.1.1

type ObjectStorageSpec struct {
	Size              int32  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	StorageCredential string `protobuf:"bytes,2,opt,name=storageCredential,proto3" json:"storageCredential,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageSpec) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageSpec.ProtoReflect.Descriptor instead.

func (*ObjectStorageSpec) GetSize added in v0.1.1

func (x *ObjectStorageSpec) GetSize() int32

func (*ObjectStorageSpec) GetStorageCredential added in v0.1.1

func (x *ObjectStorageSpec) GetStorageCredential() string

func (*ObjectStorageSpec) ProtoMessage added in v0.1.1

func (*ObjectStorageSpec) ProtoMessage()

func (*ObjectStorageSpec) ProtoReflect added in v0.1.1

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

func (*ObjectStorageSpec) Reset added in v0.1.1

func (x *ObjectStorageSpec) Reset()

func (*ObjectStorageSpec) String added in v0.1.1

func (x *ObjectStorageSpec) String() string

type ObjectStorageStatus added in v0.1.1

type ObjectStorageStatus struct {
	State             string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Endpoint          string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	StorageCredential string `protobuf:"bytes,3,opt,name=storageCredential,proto3" json:"storageCredential,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStorageStatus) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ObjectStorageStatus.ProtoReflect.Descriptor instead.

func (*ObjectStorageStatus) GetEndpoint added in v0.1.1

func (x *ObjectStorageStatus) GetEndpoint() string

func (*ObjectStorageStatus) GetState added in v0.1.1

func (x *ObjectStorageStatus) GetState() string

func (*ObjectStorageStatus) GetStorageCredential added in v0.1.1

func (x *ObjectStorageStatus) GetStorageCredential() string

func (*ObjectStorageStatus) ProtoMessage added in v0.1.1

func (*ObjectStorageStatus) ProtoMessage()

func (*ObjectStorageStatus) ProtoReflect added in v0.1.1

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

func (*ObjectStorageStatus) Reset added in v0.1.1

func (x *ObjectStorageStatus) Reset()

func (*ObjectStorageStatus) String added in v0.1.1

func (x *ObjectStorageStatus) String() string

type Records

type Records struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
	Priority *int32 `protobuf:"varint,4,opt,name=Priority,proto3,oneof" json:"Priority,omitempty"`
	TTL      *int32 `protobuf:"varint,5,opt,name=TTL,proto3,oneof" json:"TTL,omitempty"`
	// contains filtered or unexported fields
}

func (*Records) Descriptor deprecated

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

Deprecated: Use Records.ProtoReflect.Descriptor instead.

func (*Records) GetName

func (x *Records) GetName() string

func (*Records) GetPriority

func (x *Records) GetPriority() int32

func (*Records) GetTTL

func (x *Records) GetTTL() int32

func (*Records) GetType

func (x *Records) GetType() string

func (*Records) GetValue

func (x *Records) GetValue() string

func (*Records) ProtoMessage

func (*Records) ProtoMessage()

func (*Records) ProtoReflect

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

func (*Records) Reset

func (x *Records) Reset()

func (*Records) String

func (x *Records) String() string

type SSHKey

type SSHKey struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Spec defines the behavior of a domain.
	// +optional
	Spec *SSHKeySpec `protobuf:"bytes,4,opt,name=spec,proto3,oneof" json:"spec,omitempty"`
	// Status represents the current information about a domain. This data may be out of date.
	// +optional
	Status *SSHKeyStatus `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SSHKey) Descriptor deprecated

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

Deprecated: Use SSHKey.ProtoReflect.Descriptor instead.

func (*SSHKey) GetMetadata

func (x *SSHKey) GetMetadata() *v1.ObjectMeta

func (*SSHKey) GetSpec

func (x *SSHKey) GetSpec() *SSHKeySpec

func (*SSHKey) GetStatus

func (x *SSHKey) GetStatus() *SSHKeyStatus

func (*SSHKey) ProtoMessage

func (*SSHKey) ProtoMessage()

func (*SSHKey) ProtoReflect

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

func (*SSHKey) Reset

func (x *SSHKey) Reset()

func (*SSHKey) String

func (x *SSHKey) String() string

type SSHKeyList

type SSHKeyList struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// List of domains
	Items []*SSHKey `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SSHKeyList) Descriptor deprecated

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

Deprecated: Use SSHKeyList.ProtoReflect.Descriptor instead.

func (*SSHKeyList) GetItems

func (x *SSHKeyList) GetItems() []*SSHKey

func (*SSHKeyList) GetMetadata

func (x *SSHKeyList) GetMetadata() *v1.ListMeta

func (*SSHKeyList) ProtoMessage

func (*SSHKeyList) ProtoMessage()

func (*SSHKeyList) ProtoReflect

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

func (*SSHKeyList) Reset

func (x *SSHKeyList) Reset()

func (*SSHKeyList) String

func (x *SSHKeyList) String() string

type SSHKeyServiceClient

type SSHKeyServiceClient interface {
	CreateSSHKey(ctx context.Context, in *SSHKey, opts ...grpc.CallOption) (*SSHKey, error)
	GetSSHKey(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*SSHKey, error)
	// rpc UpdateDomain(Domain) returns (Domain) {}
	DeleteSSHKey(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*SSHKey, error)
	ListSSHKey(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*SSHKeyList, error)
}

SSHKeyServiceClient is the client API for SSHKeyService 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.

type SSHKeyServiceServer

type SSHKeyServiceServer interface {
	CreateSSHKey(context.Context, *SSHKey) (*SSHKey, error)
	GetSSHKey(context.Context, *FilterOptions) (*SSHKey, error)
	// rpc UpdateDomain(Domain) returns (Domain) {}
	DeleteSSHKey(context.Context, *FilterOptions) (*SSHKey, error)
	ListSSHKey(context.Context, *FilterOptions) (*SSHKeyList, error)
	// contains filtered or unexported methods
}

SSHKeyServiceServer is the server API for SSHKeyService service. All implementations must embed UnimplementedSSHKeyServiceServer for forward compatibility

type SSHKeySpec

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

func (*SSHKeySpec) Descriptor deprecated

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

Deprecated: Use SSHKeySpec.ProtoReflect.Descriptor instead.

func (*SSHKeySpec) GetPublicKey added in v0.1.10

func (x *SSHKeySpec) GetPublicKey() string

func (*SSHKeySpec) ProtoMessage

func (*SSHKeySpec) ProtoMessage()

func (*SSHKeySpec) ProtoReflect

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

func (*SSHKeySpec) Reset

func (x *SSHKeySpec) Reset()

func (*SSHKeySpec) String

func (x *SSHKeySpec) String() string

type SSHKeyStatus

type SSHKeyStatus struct {
	State       string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	FingerPrint string `protobuf:"bytes,2,opt,name=fingerPrint,proto3" json:"fingerPrint,omitempty"`
	// contains filtered or unexported fields
}

func (*SSHKeyStatus) Descriptor deprecated

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

Deprecated: Use SSHKeyStatus.ProtoReflect.Descriptor instead.

func (*SSHKeyStatus) GetFingerPrint added in v0.1.10

func (x *SSHKeyStatus) GetFingerPrint() string

func (*SSHKeyStatus) GetState

func (x *SSHKeyStatus) GetState() string

func (*SSHKeyStatus) ProtoMessage

func (*SSHKeyStatus) ProtoMessage()

func (*SSHKeyStatus) ProtoReflect

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

func (*SSHKeyStatus) Reset

func (x *SSHKeyStatus) Reset()

func (*SSHKeyStatus) String

func (x *SSHKeyStatus) String() string

type UnimplementedDatabaseServiceServer added in v0.1.1

type UnimplementedDatabaseServiceServer struct {
}

UnimplementedDatabaseServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDatabaseServiceServer) CreateDatabase added in v0.1.1

func (UnimplementedDatabaseServiceServer) DeleteDatabase added in v0.1.1

func (UnimplementedDatabaseServiceServer) GetDatabase added in v0.1.1

func (UnimplementedDatabaseServiceServer) ListDatabase added in v0.1.1

type UnimplementedDomainServiceServer

type UnimplementedDomainServiceServer struct {
}

UnimplementedDomainServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDomainServiceServer) CreateDomain

func (UnimplementedDomainServiceServer) DeleteDomain

func (UnimplementedDomainServiceServer) GetDomain

func (UnimplementedDomainServiceServer) ListDomains

type UnimplementedFirewallServiceServer

type UnimplementedFirewallServiceServer struct {
}

UnimplementedFirewallServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFirewallServiceServer) CreateFirewall

func (UnimplementedFirewallServiceServer) DeleteFirewall

func (UnimplementedFirewallServiceServer) GetFirewall

func (UnimplementedFirewallServiceServer) ListFirewall

type UnimplementedIpServiceServer added in v0.1.1

type UnimplementedIpServiceServer struct {
}

UnimplementedIpServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIpServiceServer) CreateIp added in v0.1.1

func (UnimplementedIpServiceServer) DeleteIp added in v0.1.1

func (UnimplementedIpServiceServer) GetIp added in v0.1.1

func (UnimplementedIpServiceServer) ListIp added in v0.1.1

type UnimplementedKubernetesClusterServiceServer

type UnimplementedKubernetesClusterServiceServer struct {
}

UnimplementedKubernetesClusterServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedKubernetesClusterServiceServer) CreateKubernetesCluster

func (UnimplementedKubernetesClusterServiceServer) DeleteKubernetesCluster

func (UnimplementedKubernetesClusterServiceServer) GetKubernetesCluster

func (UnimplementedKubernetesClusterServiceServer) ListKubernetesCluster

func (UnimplementedKubernetesClusterServiceServer) UpdateKubernetesCluster

type UnimplementedLoginServer

type UnimplementedLoginServer struct {
}

UnimplementedLoginServer must be embedded to have forward compatible implementations.

func (UnimplementedLoginServer) Check

type UnimplementedNamespaceServiceServer

type UnimplementedNamespaceServiceServer struct {
}

UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNamespaceServiceServer) CreateNamespace

func (UnimplementedNamespaceServiceServer) DeleteNamespace

func (UnimplementedNamespaceServiceServer) GetNamespace

func (UnimplementedNamespaceServiceServer) ListNamespace

func (UnimplementedNamespaceServiceServer) UpdateNamespace

type UnimplementedObjectStorageCredentialServiceServer added in v0.1.1

type UnimplementedObjectStorageCredentialServiceServer struct {
}

UnimplementedObjectStorageCredentialServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedObjectStorageCredentialServiceServer) CreateObjectStorageCredential added in v0.1.1

func (UnimplementedObjectStorageCredentialServiceServer) DeleteObjectStorageCredential added in v0.1.1

func (UnimplementedObjectStorageCredentialServiceServer) GetObjectStorageCredential added in v0.1.1

func (UnimplementedObjectStorageCredentialServiceServer) ListObjectStorageCredential added in v0.1.1

type UnimplementedObjectStorageServiceServer added in v0.1.1

type UnimplementedObjectStorageServiceServer struct {
}

UnimplementedObjectStorageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedObjectStorageServiceServer) CreateObjectStorage added in v0.1.1

func (UnimplementedObjectStorageServiceServer) DeleteObjectStorage added in v0.1.1

func (UnimplementedObjectStorageServiceServer) GetObjectStorage added in v0.1.1

func (UnimplementedObjectStorageServiceServer) ListObjectStorage added in v0.1.1

type UnimplementedSSHKeyServiceServer

type UnimplementedSSHKeyServiceServer struct {
}

UnimplementedSSHKeyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSSHKeyServiceServer) CreateSSHKey

func (UnimplementedSSHKeyServiceServer) DeleteSSHKey

func (UnimplementedSSHKeyServiceServer) GetSSHKey

func (UnimplementedSSHKeyServiceServer) ListSSHKey

type UnimplementedVirtualMachineServiceServer

type UnimplementedVirtualMachineServiceServer struct {
}

UnimplementedVirtualMachineServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVirtualMachineServiceServer) CreateVirtualMachine

func (UnimplementedVirtualMachineServiceServer) DeleteVirtualMachine

func (UnimplementedVirtualMachineServiceServer) GetVirtualMachine

func (UnimplementedVirtualMachineServiceServer) ListVirtualMachine

func (UnimplementedVirtualMachineServiceServer) UpdateVirtualMachine

type UnsafeDatabaseServiceServer added in v0.1.1

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

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

type UnsafeDomainServiceServer

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

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

type UnsafeFirewallServiceServer

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

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

type UnsafeIpServiceServer added in v0.1.1

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

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

type UnsafeKubernetesClusterServiceServer

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

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

type UnsafeLoginServer

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

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

type UnsafeNamespaceServiceServer

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

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

type UnsafeObjectStorageCredentialServiceServer added in v0.1.1

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

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

type UnsafeObjectStorageServiceServer added in v0.1.1

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

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

type UnsafeSSHKeyServiceServer

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

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

type UnsafeVirtualMachineServiceServer

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

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

type VirtualMachine

type VirtualMachine struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// The spec of the virtual machine.
	Spec *VirtualMachineSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The status of the virtual machine.
	Status *VirtualMachineStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachine) Descriptor deprecated

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

Deprecated: Use VirtualMachine.ProtoReflect.Descriptor instead.

func (*VirtualMachine) GetMetadata

func (x *VirtualMachine) GetMetadata() *v1.ObjectMeta

func (*VirtualMachine) GetSpec

func (x *VirtualMachine) GetSpec() *VirtualMachineSpec

func (*VirtualMachine) GetStatus

func (x *VirtualMachine) GetStatus() *VirtualMachineStatus

func (*VirtualMachine) ProtoMessage

func (*VirtualMachine) ProtoMessage()

func (*VirtualMachine) ProtoReflect

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

func (*VirtualMachine) Reset

func (x *VirtualMachine) Reset()

func (*VirtualMachine) String

func (x *VirtualMachine) String() string

type VirtualMachineAuth

type VirtualMachineAuth struct {
	User     string  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Password *string `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"`
	SshKey   string  `protobuf:"bytes,3,opt,name=sshKey,proto3" json:"sshKey,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineAuth) Descriptor deprecated

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

Deprecated: Use VirtualMachineAuth.ProtoReflect.Descriptor instead.

func (*VirtualMachineAuth) GetPassword

func (x *VirtualMachineAuth) GetPassword() string

func (*VirtualMachineAuth) GetSshKey

func (x *VirtualMachineAuth) GetSshKey() string

func (*VirtualMachineAuth) GetUser

func (x *VirtualMachineAuth) GetUser() string

func (*VirtualMachineAuth) ProtoMessage

func (*VirtualMachineAuth) ProtoMessage()

func (*VirtualMachineAuth) ProtoReflect

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

func (*VirtualMachineAuth) Reset

func (x *VirtualMachineAuth) Reset()

func (*VirtualMachineAuth) String

func (x *VirtualMachineAuth) String() string

type VirtualMachineList

type VirtualMachineList struct {

	// Standard list metadata.
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// Items is the list of VistualMachine.
	Items []*VirtualMachine `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

VirtualMachineList is a list of VirtualMachine.

func (*VirtualMachineList) Descriptor deprecated

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

Deprecated: Use VirtualMachineList.ProtoReflect.Descriptor instead.

func (*VirtualMachineList) GetItems

func (x *VirtualMachineList) GetItems() []*VirtualMachine

func (*VirtualMachineList) GetMetadata

func (x *VirtualMachineList) GetMetadata() *v1.ListMeta

func (*VirtualMachineList) ProtoMessage

func (*VirtualMachineList) ProtoMessage()

func (*VirtualMachineList) ProtoReflect

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

func (*VirtualMachineList) Reset

func (x *VirtualMachineList) Reset()

func (*VirtualMachineList) String

func (x *VirtualMachineList) String() string

type VirtualMachineServiceClient

type VirtualMachineServiceClient interface {
	CreateVirtualMachine(ctx context.Context, in *VirtualMachine, opts ...grpc.CallOption) (*VirtualMachine, error)
	GetVirtualMachine(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*VirtualMachine, error)
	ListVirtualMachine(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*VirtualMachineList, error)
	DeleteVirtualMachine(ctx context.Context, in *FilterOptions, opts ...grpc.CallOption) (*VirtualMachine, error)
	UpdateVirtualMachine(ctx context.Context, in *VirtualMachine, opts ...grpc.CallOption) (*VirtualMachine, error)
}

VirtualMachineServiceClient is the client API for VirtualMachineService 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.

type VirtualMachineServiceServer

type VirtualMachineServiceServer interface {
	CreateVirtualMachine(context.Context, *VirtualMachine) (*VirtualMachine, error)
	GetVirtualMachine(context.Context, *FilterOptions) (*VirtualMachine, error)
	ListVirtualMachine(context.Context, *FilterOptions) (*VirtualMachineList, error)
	DeleteVirtualMachine(context.Context, *FilterOptions) (*VirtualMachine, error)
	UpdateVirtualMachine(context.Context, *VirtualMachine) (*VirtualMachine, error)
	// contains filtered or unexported methods
}

VirtualMachineServiceServer is the server API for VirtualMachineService service. All implementations must embed UnimplementedVirtualMachineServiceServer for forward compatibility

type VirtualMachineSpec

type VirtualMachineSpec struct {
	Size         string              `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
	Firewall     string              `protobuf:"bytes,2,opt,name=firewall,proto3" json:"firewall,omitempty"`
	Ipv4         bool                `protobuf:"varint,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	Ipv6         bool                `protobuf:"varint,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	StaticIP     string              `protobuf:"bytes,5,opt,name=staticIP,proto3" json:"staticIP,omitempty"`
	StorageClass string              `protobuf:"bytes,6,opt,name=storageClass,proto3" json:"storageClass,omitempty"`
	Image        string              `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
	Auth         *VirtualMachineAuth `protobuf:"bytes,8,opt,name=Auth,proto3" json:"Auth,omitempty"`
	Tags         []string            `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	CloudInit    string              `protobuf:"bytes,10,opt,name=cloudInit,proto3" json:"cloudInit,omitempty"`
	UserScript   string              `protobuf:"bytes,11,opt,name=userScript,proto3" json:"userScript,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineSpec) Descriptor deprecated

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

Deprecated: Use VirtualMachineSpec.ProtoReflect.Descriptor instead.

func (*VirtualMachineSpec) GetAuth

func (x *VirtualMachineSpec) GetAuth() *VirtualMachineAuth

func (*VirtualMachineSpec) GetCloudInit

func (x *VirtualMachineSpec) GetCloudInit() string

func (*VirtualMachineSpec) GetFirewall

func (x *VirtualMachineSpec) GetFirewall() string

func (*VirtualMachineSpec) GetImage

func (x *VirtualMachineSpec) GetImage() string

func (*VirtualMachineSpec) GetIpv4

func (x *VirtualMachineSpec) GetIpv4() bool

func (*VirtualMachineSpec) GetIpv6

func (x *VirtualMachineSpec) GetIpv6() bool

func (*VirtualMachineSpec) GetSize

func (x *VirtualMachineSpec) GetSize() string

func (*VirtualMachineSpec) GetStaticIP

func (x *VirtualMachineSpec) GetStaticIP() string

func (*VirtualMachineSpec) GetStorageClass

func (x *VirtualMachineSpec) GetStorageClass() string

func (*VirtualMachineSpec) GetTags

func (x *VirtualMachineSpec) GetTags() []string

func (*VirtualMachineSpec) GetUserScript

func (x *VirtualMachineSpec) GetUserScript() string

func (*VirtualMachineSpec) ProtoMessage

func (*VirtualMachineSpec) ProtoMessage()

func (*VirtualMachineSpec) ProtoReflect

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

func (*VirtualMachineSpec) Reset

func (x *VirtualMachineSpec) Reset()

func (*VirtualMachineSpec) String

func (x *VirtualMachineSpec) String() string

type VirtualMachineStatus

type VirtualMachineStatus struct {
	PrivateIP string `protobuf:"bytes,1,opt,name=privateIP,proto3" json:"privateIP,omitempty"`
	PublicIP  string `protobuf:"bytes,2,opt,name=publicIP,proto3" json:"publicIP,omitempty"`
	State     string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineStatus) Descriptor deprecated

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

Deprecated: Use VirtualMachineStatus.ProtoReflect.Descriptor instead.

func (*VirtualMachineStatus) GetPrivateIP

func (x *VirtualMachineStatus) GetPrivateIP() string

func (*VirtualMachineStatus) GetPublicIP

func (x *VirtualMachineStatus) GetPublicIP() string

func (*VirtualMachineStatus) GetState

func (x *VirtualMachineStatus) GetState() string

func (*VirtualMachineStatus) ProtoMessage

func (*VirtualMachineStatus) ProtoMessage()

func (*VirtualMachineStatus) ProtoReflect

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

func (*VirtualMachineStatus) Reset

func (x *VirtualMachineStatus) Reset()

func (*VirtualMachineStatus) String

func (x *VirtualMachineStatus) String() string

Jump to

Keyboard shortcuts

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