v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var ApplyAction_name = map[int32]string{
	0: "ALL",
	1: "PROVISION",
	2: "CONFIGURE",
}
View Source
var ApplyAction_value = map[string]int32{
	"ALL":       0,
	"PROVISION": 1,
	"CONFIGURE": 2,
}
View Source
var DeleteClusterConfigStatus_name = map[int32]string{
	0: "DELETED",
	1: "NOT_FOUND",
}
View Source
var DeleteClusterConfigStatus_value = map[string]int32{
	"DELETED":   0,
	"NOT_FOUND": 1,
}
View Source
var DescribeLevel_name = map[int32]string{
	0: "BASIC",
	1: "EVERYTHING",
	2: "CONFIG",
	3: "NODES",
}
View Source
var DescribeLevel_value = map[string]int32{
	"BASIC":      0,
	"EVERYTHING": 1,
	"CONFIG":     2,
	"NODES":      3,
}
View Source
var PlatformName_name = map[int32]string{
	0: "UNKNOWN",
	1: "AWS",
	2: "EKS",
	3: "AZURE",
	4: "AKS",
	5: "OPENSTACK",
	6: "VSPHERE",
	7: "VRA",
	8: "STACKI",
	9: "RAW",
}
View Source
var PlatformName_value = map[string]int32{
	"UNKNOWN":   0,
	"AWS":       1,
	"EKS":       2,
	"AZURE":     3,
	"AKS":       4,
	"OPENSTACK": 5,
	"VSPHERE":   6,
	"VRA":       7,
	"STACKI":    8,
	"RAW":       9,
}
View Source
var Status_name = map[int32]string{
	0:  "UNKNOWN_STATUS",
	1:  "ABSENT",
	2:  "CREATING",
	3:  "PROVISIONED",
	4:  "FAILED_PROVISIONING",
	5:  "FAILED_CONFIGURATION",
	6:  "CREATED",
	7:  "FAILED_CREATION",
	8:  "RUNNING",
	9:  "STOPPED",
	10: "TERMINATING",
	11: "TERMINATED",
	12: "FAILED_TERMINATION",
}
View Source
var Status_value = map[string]int32{
	"UNKNOWN_STATUS":       0,
	"ABSENT":               1,
	"CREATING":             2,
	"PROVISIONED":          3,
	"FAILED_PROVISIONING":  4,
	"FAILED_CONFIGURATION": 5,
	"CREATED":              6,
	"FAILED_CREATION":      7,
	"RUNNING":              8,
	"STOPPED":              9,
	"TERMINATING":          10,
	"TERMINATED":           11,
	"FAILED_TERMINATION":   12,
}
View Source
var Swagger = []byte(`
{
  "swagger": "2.0",
  "info": {
    "title": "KubeKit Service",
    "version": "1.0",
    "contact": {
      "name": "KubeKit",
      "url": "https://kubekit.dev/",
      "email": "team@kubekit.dev"
    }
  },
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/api/v1/cluster": {
      "get": {
        "operationId": "GetClusters",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1GetClustersResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "names",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          },
          {
            "name": "filter",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      },
      "post": {
        "operationId": "Init",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1InitResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/v1InitRequest"
            }
          }
        ],
        "tags": [
          "Kubekit"
        ]
      }
    },
    "/api/v1/cluster/{cluster_name}": {
      "get": {
        "operationId": "Describe",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1DescribeResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "show_params",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      },
      "delete": {
        "operationId": "Delete",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1DeleteResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "destroy_all",
            "in": "query",
            "required": false,
            "type": "boolean",
            "format": "boolean"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      },
      "post": {
        "operationId": "Apply",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1ApplyResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/v1ApplyRequest"
            }
          }
        ],
        "tags": [
          "Kubekit"
        ]
      },
      "put": {
        "operationId": "UpdateCluster",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1UpdateClusterResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/v1UpdateClusterRequest"
            }
          }
        ],
        "tags": [
          "Kubekit"
        ]
      }
    },
    "/api/v1/cluster/{cluster_name}/config": {
      "delete": {
        "operationId": "DeleteClusterConfig",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1DeleteClusterConfigResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      }
    },
    "/api/v1/cluster/{cluster_name}/token": {
      "get": {
        "operationId": "Token",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1TokenResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "cluster_name",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      }
    },
    "/api/v1/version": {
      "get": {
        "operationId": "Version",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/v1VersionResponse"
            }
          },
          "400": {
            "description": "Returned when a request is invalid or missing parameters",
            "schema": {}
          },
          "404": {
            "description": "Returned when the resource does not exist.",
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        },
        "parameters": [
          {
            "name": "api",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "tags": [
          "Kubekit"
        ]
      }
    }
  },
  "definitions": {
    "protobufNullValue": {
      "type": "string",
      "enum": [
        "NULL_VALUE"
      ],
      "default": "NULL_VALUE",
      "description": "` + "`" + `NullValue` + "`" + ` is a singleton enumeration to represent the null value for the\n` + "`" + `Value` + "`" + ` type union.\n\n The JSON representation for ` + "`" + `NullValue` + "`" + ` is JSON ` + "`" + `null` + "`" + `.\n\n - NULL_VALUE: Null value."
    },
    "v1ApplyAction": {
      "type": "string",
      "enum": [
        "ALL",
        "PROVISION",
        "CONFIGURE"
      ],
      "default": "ALL"
    },
    "v1ApplyRequest": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "cluster_name": {
          "type": "string"
        },
        "action": {
          "$ref": "#/definitions/v1ApplyAction"
        },
        "package_url": {
          "type": "string"
        },
        "force_package": {
          "type": "boolean",
          "format": "boolean"
        },
        "ca_certs": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "v1ApplyResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "v1Cluster": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "platform": {
          "$ref": "#/definitions/v1PlatformName"
        },
        "nodes": {
          "type": "integer",
          "format": "int32"
        },
        "status": {
          "$ref": "#/definitions/v1Status"
        }
      }
    },
    "v1ClusterConfig": {
      "type": "object",
      "properties": {
        "variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "resources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "v1ClusterNodes": {
      "type": "object",
      "properties": {
        "node_pools": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/v1NodePool"
          }
        }
      }
    },
    "v1DeleteClusterConfigResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "cluster_name": {
          "type": "string"
        },
        "status": {
          "$ref": "#/definitions/v1DeleteClusterConfigStatus"
        }
      }
    },
    "v1DeleteClusterConfigStatus": {
      "type": "string",
      "enum": [
        "DELETED",
        "NOT_FOUND"
      ],
      "default": "DELETED"
    },
    "v1DeleteResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "v1DescribeResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "cluster": {
          "$ref": "#/definitions/v1Cluster"
        },
        "entrypoint": {
          "type": "string"
        },
        "config": {
          "$ref": "#/definitions/v1ClusterConfig"
        },
        "nodes": {
          "$ref": "#/definitions/v1ClusterNodes"
        },
        "kubeconfig": {
          "type": "string"
        }
      }
    },
    "v1GetClustersResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "clusters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/v1Cluster"
          }
        }
      }
    },
    "v1InitRequest": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "cluster_name": {
          "type": "string"
        },
        "platform": {
          "$ref": "#/definitions/v1PlatformName"
        },
        "variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "credentials": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "resources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "v1InitResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "v1Node": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "pool_name": {
          "type": "string"
        },
        "role_name": {
          "type": "string"
        },
        "public_ip": {
          "type": "string"
        },
        "private_ip": {
          "type": "string"
        },
        "other_ips": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "public_dns": {
          "type": "string"
        },
        "private_dns": {
          "type": "string"
        },
        "other_dns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "v1NodePool": {
      "type": "object",
      "properties": {
        "pool_name": {
          "type": "string"
        },
        "nodes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/v1Node"
          }
        }
      }
    },
    "v1PlatformName": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "AWS",
        "EKS",
        "AZURE",
        "AKS",
        "OPENSTACK",
        "VSPHERE",
        "VRA",
        "STACKI",
        "RAW"
      ],
      "default": "UNKNOWN"
    },
    "v1Status": {
      "type": "string",
      "enum": [
        "UNKNOWN_STATUS",
        "ABSENT",
        "CREATING",
        "PROVISIONED",
        "FAILED_PROVISIONING",
        "FAILED_CONFIGURATION",
        "CREATED",
        "FAILED_CREATION",
        "RUNNING",
        "STOPPED",
        "TERMINATING",
        "TERMINATED",
        "FAILED_TERMINATION"
      ],
      "default": "UNKNOWN_STATUS"
    },
    "v1TokenResponse": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        },
        "apiVersion": {
          "type": "string"
        },
        "spec": {
          "type": "object"
        },
        "status": {
          "$ref": "#/definitions/v1TokenStatus"
        }
      }
    },
    "v1TokenStatus": {
      "type": "object",
      "properties": {
        "expirationTimestamp": {
          "type": "string",
          "format": "date-time"
        },
        "token": {
          "type": "string"
        }
      }
    },
    "v1UpdateClusterRequest": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "cluster_name": {
          "type": "string"
        },
        "variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "credentials": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "resources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "v1UpdateClusterResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        }
      }
    },
    "v1VersionResponse": {
      "type": "object",
      "properties": {
        "api": {
          "type": "string"
        },
        "kubekit": {
          "type": "string"
        },
        "kubernetes": {
          "type": "string"
        },
        "docker": {
          "type": "string"
        },
        "etcd": {
          "type": "string"
        }
      }
    }
  },
  "externalDocs": {
    "description": "KubeKit Development - Slack",
    "url": "slack://channel?team=TQN0L5ZU1\u0026id=CQY6PKLDD"
  }
}
`)

Functions

func RegisterKubekitHandler

func RegisterKubekitHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterKubekitHandler registers the http handlers for service Kubekit to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterKubekitHandlerClient

func RegisterKubekitHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubekitClient) error

RegisterKubekitHandlerClient registers the http handlers for service Kubekit to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubekitClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubekitClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KubekitClient" to call the correct interceptors.

func RegisterKubekitHandlerFromEndpoint

func RegisterKubekitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterKubekitHandlerFromEndpoint is same as RegisterKubekitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterKubekitHandlerServer

func RegisterKubekitHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubekitServer) error

RegisterKubekitHandlerServer registers the http handlers for service Kubekit to "mux". UnaryRPC :call KubekitServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterKubekitServer

func RegisterKubekitServer(s *grpc.Server, srv KubekitServer)

Types

type ApplyAction

type ApplyAction int32
const (
	ApplyAction_ALL       ApplyAction = 0
	ApplyAction_PROVISION ApplyAction = 1
	ApplyAction_CONFIGURE ApplyAction = 2
)

func (ApplyAction) EnumDescriptor

func (ApplyAction) EnumDescriptor() ([]byte, []int)

func (ApplyAction) String

func (x ApplyAction) String() string

type ApplyRequest

type ApplyRequest struct {
	Api                  string            `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string            `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Action               ApplyAction       `protobuf:"varint,3,opt,name=action,proto3,enum=kubekit.v1.ApplyAction" json:"action,omitempty"`
	PackageUrl           string            `protobuf:"bytes,4,opt,name=package_url,json=packageUrl,proto3" json:"package_url,omitempty"`
	ForcePackage         bool              `protobuf:"varint,5,opt,name=force_package,json=forcePackage,proto3" json:"force_package,omitempty"`
	CaCerts              map[string]string `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ApplyRequest) Descriptor

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

func (*ApplyRequest) GetAction

func (m *ApplyRequest) GetAction() ApplyAction

func (*ApplyRequest) GetApi

func (m *ApplyRequest) GetApi() string

func (*ApplyRequest) GetCaCerts

func (m *ApplyRequest) GetCaCerts() map[string]string

func (*ApplyRequest) GetClusterName

func (m *ApplyRequest) GetClusterName() string

func (*ApplyRequest) GetForcePackage

func (m *ApplyRequest) GetForcePackage() bool

func (*ApplyRequest) GetPackageUrl

func (m *ApplyRequest) GetPackageUrl() string

func (*ApplyRequest) ProtoMessage

func (*ApplyRequest) ProtoMessage()

func (*ApplyRequest) Reset

func (m *ApplyRequest) Reset()

func (*ApplyRequest) String

func (m *ApplyRequest) String() string

func (*ApplyRequest) XXX_DiscardUnknown

func (m *ApplyRequest) XXX_DiscardUnknown()

func (*ApplyRequest) XXX_Marshal

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

func (*ApplyRequest) XXX_Merge

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

func (*ApplyRequest) XXX_Size

func (m *ApplyRequest) XXX_Size() int

func (*ApplyRequest) XXX_Unmarshal

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

type ApplyResponse

type ApplyResponse struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ApplyResponse) Descriptor

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

func (*ApplyResponse) GetApi

func (m *ApplyResponse) GetApi() string

func (*ApplyResponse) GetStatus

func (m *ApplyResponse) GetStatus() string

func (*ApplyResponse) ProtoMessage

func (*ApplyResponse) ProtoMessage()

func (*ApplyResponse) Reset

func (m *ApplyResponse) Reset()

func (*ApplyResponse) String

func (m *ApplyResponse) String() string

func (*ApplyResponse) XXX_DiscardUnknown

func (m *ApplyResponse) XXX_DiscardUnknown()

func (*ApplyResponse) XXX_Marshal

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

func (*ApplyResponse) XXX_Merge

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

func (*ApplyResponse) XXX_Size

func (m *ApplyResponse) XXX_Size() int

func (*ApplyResponse) XXX_Unmarshal

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

type Cluster

type Cluster struct {
	Name                 string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Platform             PlatformName `protobuf:"varint,4,opt,name=platform,proto3,enum=kubekit.v1.PlatformName" json:"platform,omitempty"`
	Nodes                int32        `protobuf:"varint,5,opt,name=nodes,proto3" json:"nodes,omitempty"`
	Status               Status       `protobuf:"varint,6,opt,name=status,proto3,enum=kubekit.v1.Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Cluster) Descriptor

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

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetNodes

func (m *Cluster) GetNodes() int32

func (*Cluster) GetPlatform

func (m *Cluster) GetPlatform() PlatformName

func (*Cluster) GetStatus

func (m *Cluster) GetStatus() Status

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) String

func (m *Cluster) String() string

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

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

func (*Cluster) XXX_Merge

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

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

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

type ClusterConfig

type ClusterConfig struct {
	Variables            map[string]string `` /* 159-byte string literal not displayed */
	Resources            []string          `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ClusterConfig) Descriptor

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

func (*ClusterConfig) GetResources

func (m *ClusterConfig) GetResources() []string

func (*ClusterConfig) GetVariables

func (m *ClusterConfig) GetVariables() map[string]string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) Reset

func (m *ClusterConfig) Reset()

func (*ClusterConfig) String

func (m *ClusterConfig) String() string

func (*ClusterConfig) XXX_DiscardUnknown

func (m *ClusterConfig) XXX_DiscardUnknown()

func (*ClusterConfig) XXX_Marshal

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

func (*ClusterConfig) XXX_Merge

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

func (*ClusterConfig) XXX_Size

func (m *ClusterConfig) XXX_Size() int

func (*ClusterConfig) XXX_Unmarshal

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

type ClusterNodes

type ClusterNodes struct {
	NodePools            []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClusterNodes) Descriptor

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

func (*ClusterNodes) GetNodePools

func (m *ClusterNodes) GetNodePools() []*NodePool

func (*ClusterNodes) ProtoMessage

func (*ClusterNodes) ProtoMessage()

func (*ClusterNodes) Reset

func (m *ClusterNodes) Reset()

func (*ClusterNodes) String

func (m *ClusterNodes) String() string

func (*ClusterNodes) XXX_DiscardUnknown

func (m *ClusterNodes) XXX_DiscardUnknown()

func (*ClusterNodes) XXX_Marshal

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

func (*ClusterNodes) XXX_Merge

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

func (*ClusterNodes) XXX_Size

func (m *ClusterNodes) XXX_Size() int

func (*ClusterNodes) XXX_Unmarshal

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

type DeleteClusterConfigRequest

type DeleteClusterConfigRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string   `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterConfigRequest) Descriptor

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

func (*DeleteClusterConfigRequest) GetApi

func (m *DeleteClusterConfigRequest) GetApi() string

func (*DeleteClusterConfigRequest) GetClusterName

func (m *DeleteClusterConfigRequest) GetClusterName() string

func (*DeleteClusterConfigRequest) ProtoMessage

func (*DeleteClusterConfigRequest) ProtoMessage()

func (*DeleteClusterConfigRequest) Reset

func (m *DeleteClusterConfigRequest) Reset()

func (*DeleteClusterConfigRequest) String

func (m *DeleteClusterConfigRequest) String() string

func (*DeleteClusterConfigRequest) XXX_DiscardUnknown

func (m *DeleteClusterConfigRequest) XXX_DiscardUnknown()

func (*DeleteClusterConfigRequest) XXX_Marshal

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

func (*DeleteClusterConfigRequest) XXX_Merge

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

func (*DeleteClusterConfigRequest) XXX_Size

func (m *DeleteClusterConfigRequest) XXX_Size() int

func (*DeleteClusterConfigRequest) XXX_Unmarshal

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

type DeleteClusterConfigResponse

type DeleteClusterConfigResponse struct {
	Api                  string                    `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string                    `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Status               DeleteClusterConfigStatus `protobuf:"varint,3,opt,name=status,proto3,enum=kubekit.v1.DeleteClusterConfigStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*DeleteClusterConfigResponse) Descriptor

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

func (*DeleteClusterConfigResponse) GetApi

func (m *DeleteClusterConfigResponse) GetApi() string

func (*DeleteClusterConfigResponse) GetClusterName

func (m *DeleteClusterConfigResponse) GetClusterName() string

func (*DeleteClusterConfigResponse) GetStatus

func (*DeleteClusterConfigResponse) ProtoMessage

func (*DeleteClusterConfigResponse) ProtoMessage()

func (*DeleteClusterConfigResponse) Reset

func (m *DeleteClusterConfigResponse) Reset()

func (*DeleteClusterConfigResponse) String

func (m *DeleteClusterConfigResponse) String() string

func (*DeleteClusterConfigResponse) XXX_DiscardUnknown

func (m *DeleteClusterConfigResponse) XXX_DiscardUnknown()

func (*DeleteClusterConfigResponse) XXX_Marshal

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

func (*DeleteClusterConfigResponse) XXX_Merge

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

func (*DeleteClusterConfigResponse) XXX_Size

func (m *DeleteClusterConfigResponse) XXX_Size() int

func (*DeleteClusterConfigResponse) XXX_Unmarshal

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

type DeleteClusterConfigStatus

type DeleteClusterConfigStatus int32
const (
	DeleteClusterConfigStatus_DELETED   DeleteClusterConfigStatus = 0
	DeleteClusterConfigStatus_NOT_FOUND DeleteClusterConfigStatus = 1
)

func (DeleteClusterConfigStatus) EnumDescriptor

func (DeleteClusterConfigStatus) EnumDescriptor() ([]byte, []int)

func (DeleteClusterConfigStatus) String

func (x DeleteClusterConfigStatus) String() string

type DeleteRequest

type DeleteRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string   `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	DestroyAll           bool     `protobuf:"varint,3,opt,name=destroy_all,json=destroyAll,proto3" json:"destroy_all,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetApi

func (m *DeleteRequest) GetApi() string

func (*DeleteRequest) GetClusterName

func (m *DeleteRequest) GetClusterName() string

func (*DeleteRequest) GetDestroyAll

func (m *DeleteRequest) GetDestroyAll() bool

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

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

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type DeleteResponse

type DeleteResponse struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) GetApi

func (m *DeleteResponse) GetApi() string

func (*DeleteResponse) GetStatus

func (m *DeleteResponse) GetStatus() string

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

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

func (*DeleteResponse) XXX_Merge

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

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

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

type DescribeLevel

type DescribeLevel int32
const (
	DescribeLevel_BASIC      DescribeLevel = 0
	DescribeLevel_EVERYTHING DescribeLevel = 1
	DescribeLevel_CONFIG     DescribeLevel = 2
	DescribeLevel_NODES      DescribeLevel = 3
)

func (DescribeLevel) EnumDescriptor

func (DescribeLevel) EnumDescriptor() ([]byte, []int)

func (DescribeLevel) String

func (x DescribeLevel) String() string

type DescribeRequest

type DescribeRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string   `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	ShowParams           []string `protobuf:"bytes,3,rep,name=show_params,json=showParams,proto3" json:"show_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeRequest) Descriptor

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

func (*DescribeRequest) GetApi

func (m *DescribeRequest) GetApi() string

func (*DescribeRequest) GetClusterName

func (m *DescribeRequest) GetClusterName() string

func (*DescribeRequest) GetShowParams

func (m *DescribeRequest) GetShowParams() []string

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) Reset

func (m *DescribeRequest) Reset()

func (*DescribeRequest) String

func (m *DescribeRequest) String() string

func (*DescribeRequest) XXX_DiscardUnknown

func (m *DescribeRequest) XXX_DiscardUnknown()

func (*DescribeRequest) XXX_Marshal

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

func (*DescribeRequest) XXX_Merge

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

func (*DescribeRequest) XXX_Size

func (m *DescribeRequest) XXX_Size() int

func (*DescribeRequest) XXX_Unmarshal

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

type DescribeResponse

type DescribeResponse struct {
	Api                  string         `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Cluster              *Cluster       `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Entrypoint           string         `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Config               *ClusterConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	Nodes                *ClusterNodes  `protobuf:"bytes,5,opt,name=nodes,proto3" json:"nodes,omitempty"`
	Kubeconfig           string         `protobuf:"bytes,6,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DescribeResponse) Descriptor

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

func (*DescribeResponse) GetApi

func (m *DescribeResponse) GetApi() string

func (*DescribeResponse) GetCluster

func (m *DescribeResponse) GetCluster() *Cluster

func (*DescribeResponse) GetConfig

func (m *DescribeResponse) GetConfig() *ClusterConfig

func (*DescribeResponse) GetEntrypoint

func (m *DescribeResponse) GetEntrypoint() string

func (*DescribeResponse) GetKubeconfig

func (m *DescribeResponse) GetKubeconfig() string

func (*DescribeResponse) GetNodes

func (m *DescribeResponse) GetNodes() *ClusterNodes

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) Reset

func (m *DescribeResponse) Reset()

func (*DescribeResponse) String

func (m *DescribeResponse) String() string

func (*DescribeResponse) XXX_DiscardUnknown

func (m *DescribeResponse) XXX_DiscardUnknown()

func (*DescribeResponse) XXX_Marshal

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

func (*DescribeResponse) XXX_Merge

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

func (*DescribeResponse) XXX_Size

func (m *DescribeResponse) XXX_Size() int

func (*DescribeResponse) XXX_Unmarshal

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

type GetClustersRequest

type GetClustersRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Names                []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	Filter               []string `protobuf:"bytes,4,rep,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetClustersRequest) Descriptor

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

func (*GetClustersRequest) GetApi

func (m *GetClustersRequest) GetApi() string

func (*GetClustersRequest) GetFilter

func (m *GetClustersRequest) GetFilter() []string

func (*GetClustersRequest) GetNames

func (m *GetClustersRequest) GetNames() []string

func (*GetClustersRequest) ProtoMessage

func (*GetClustersRequest) ProtoMessage()

func (*GetClustersRequest) Reset

func (m *GetClustersRequest) Reset()

func (*GetClustersRequest) String

func (m *GetClustersRequest) String() string

func (*GetClustersRequest) XXX_DiscardUnknown

func (m *GetClustersRequest) XXX_DiscardUnknown()

func (*GetClustersRequest) XXX_Marshal

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

func (*GetClustersRequest) XXX_Merge

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

func (*GetClustersRequest) XXX_Size

func (m *GetClustersRequest) XXX_Size() int

func (*GetClustersRequest) XXX_Unmarshal

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

type GetClustersResponse

type GetClustersResponse struct {
	Api                  string     `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Clusters             []*Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetClustersResponse) Descriptor

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

func (*GetClustersResponse) GetApi

func (m *GetClustersResponse) GetApi() string

func (*GetClustersResponse) GetClusters

func (m *GetClustersResponse) GetClusters() []*Cluster

func (*GetClustersResponse) ProtoMessage

func (*GetClustersResponse) ProtoMessage()

func (*GetClustersResponse) Reset

func (m *GetClustersResponse) Reset()

func (*GetClustersResponse) String

func (m *GetClustersResponse) String() string

func (*GetClustersResponse) XXX_DiscardUnknown

func (m *GetClustersResponse) XXX_DiscardUnknown()

func (*GetClustersResponse) XXX_Marshal

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

func (*GetClustersResponse) XXX_Merge

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

func (*GetClustersResponse) XXX_Size

func (m *GetClustersResponse) XXX_Size() int

func (*GetClustersResponse) XXX_Unmarshal

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

type InitRequest

type InitRequest struct {
	Api                  string            `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Kind                 string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	ClusterName          string            `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Platform             PlatformName      `protobuf:"varint,4,opt,name=platform,proto3,enum=kubekit.v1.PlatformName" json:"platform,omitempty"`
	Variables            map[string]string `` /* 159-byte string literal not displayed */
	Credentials          map[string]string `` /* 163-byte string literal not displayed */
	Resources            []string          `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*InitRequest) Descriptor

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

func (*InitRequest) GetApi

func (m *InitRequest) GetApi() string

func (*InitRequest) GetClusterName

func (m *InitRequest) GetClusterName() string

func (*InitRequest) GetCredentials

func (m *InitRequest) GetCredentials() map[string]string

func (*InitRequest) GetKind

func (m *InitRequest) GetKind() string

func (*InitRequest) GetPlatform

func (m *InitRequest) GetPlatform() PlatformName

func (*InitRequest) GetResources

func (m *InitRequest) GetResources() []string

func (*InitRequest) GetVariables

func (m *InitRequest) GetVariables() map[string]string

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) Reset

func (m *InitRequest) Reset()

func (*InitRequest) String

func (m *InitRequest) String() string

func (*InitRequest) XXX_DiscardUnknown

func (m *InitRequest) XXX_DiscardUnknown()

func (*InitRequest) XXX_Marshal

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

func (*InitRequest) XXX_Merge

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

func (*InitRequest) XXX_Size

func (m *InitRequest) XXX_Size() int

func (*InitRequest) XXX_Unmarshal

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

type InitResponse

type InitResponse struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Kind                 string   `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitResponse) Descriptor

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

func (*InitResponse) GetApi

func (m *InitResponse) GetApi() string

func (*InitResponse) GetKind

func (m *InitResponse) GetKind() string

func (*InitResponse) GetName

func (m *InitResponse) GetName() string

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) Reset

func (m *InitResponse) Reset()

func (*InitResponse) String

func (m *InitResponse) String() string

func (*InitResponse) XXX_DiscardUnknown

func (m *InitResponse) XXX_DiscardUnknown()

func (*InitResponse) XXX_Marshal

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

func (*InitResponse) XXX_Merge

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

func (*InitResponse) XXX_Size

func (m *InitResponse) XXX_Size() int

func (*InitResponse) XXX_Unmarshal

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

type KubekitClient

KubekitClient is the client API for Kubekit service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKubekitClient

func NewKubekitClient(cc *grpc.ClientConn) KubekitClient

type Node

type Node struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PoolName             string   `protobuf:"bytes,2,opt,name=pool_name,json=poolName,proto3" json:"pool_name,omitempty"`
	RoleName             string   `protobuf:"bytes,3,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	PublicIp             string   `protobuf:"bytes,4,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
	PrivateIp            string   `protobuf:"bytes,5,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
	OtherIps             []string `protobuf:"bytes,6,rep,name=other_ips,json=otherIps,proto3" json:"other_ips,omitempty"`
	PublicDns            string   `protobuf:"bytes,7,opt,name=public_dns,json=publicDns,proto3" json:"public_dns,omitempty"`
	PrivateDns           string   `protobuf:"bytes,8,opt,name=private_dns,json=privateDns,proto3" json:"private_dns,omitempty"`
	OtherDns             []string `protobuf:"bytes,9,rep,name=other_dns,json=otherDns,proto3" json:"other_dns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor

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

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetOtherDns

func (m *Node) GetOtherDns() []string

func (*Node) GetOtherIps

func (m *Node) GetOtherIps() []string

func (*Node) GetPoolName

func (m *Node) GetPoolName() string

func (*Node) GetPrivateDns

func (m *Node) GetPrivateDns() string

func (*Node) GetPrivateIp

func (m *Node) GetPrivateIp() string

func (*Node) GetPublicDns

func (m *Node) GetPublicDns() string

func (*Node) GetPublicIp

func (m *Node) GetPublicIp() string

func (*Node) GetRoleName

func (m *Node) GetRoleName() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type NodePool

type NodePool struct {
	PoolName             string   `protobuf:"bytes,1,opt,name=pool_name,json=poolName,proto3" json:"pool_name,omitempty"`
	Nodes                []*Node  `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodePool) Descriptor

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

func (*NodePool) GetNodes

func (m *NodePool) GetNodes() []*Node

func (*NodePool) GetPoolName

func (m *NodePool) GetPoolName() string

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) Reset

func (m *NodePool) Reset()

func (*NodePool) String

func (m *NodePool) String() string

func (*NodePool) XXX_DiscardUnknown

func (m *NodePool) XXX_DiscardUnknown()

func (*NodePool) XXX_Marshal

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

func (*NodePool) XXX_Merge

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

func (*NodePool) XXX_Size

func (m *NodePool) XXX_Size() int

func (*NodePool) XXX_Unmarshal

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

type PlatformName

type PlatformName int32
const (
	PlatformName_UNKNOWN   PlatformName = 0
	PlatformName_AWS       PlatformName = 1
	PlatformName_EKS       PlatformName = 2
	PlatformName_AZURE     PlatformName = 3
	PlatformName_AKS       PlatformName = 4
	PlatformName_OPENSTACK PlatformName = 5
	PlatformName_VSPHERE   PlatformName = 6
	PlatformName_VRA       PlatformName = 7
	PlatformName_STACKI    PlatformName = 8
	PlatformName_RAW       PlatformName = 9
)

func (PlatformName) EnumDescriptor

func (PlatformName) EnumDescriptor() ([]byte, []int)

func (PlatformName) String

func (x PlatformName) String() string

type Status

type Status int32
const (
	Status_UNKNOWN_STATUS       Status = 0
	Status_ABSENT               Status = 1
	Status_CREATING             Status = 2
	Status_PROVISIONED          Status = 3
	Status_FAILED_PROVISIONING  Status = 4
	Status_FAILED_CONFIGURATION Status = 5
	Status_CREATED              Status = 6
	Status_FAILED_CREATION      Status = 7
	Status_RUNNING              Status = 8
	Status_STOPPED              Status = 9
	Status_TERMINATING          Status = 10
	Status_TERMINATED           Status = 11
	Status_FAILED_TERMINATION   Status = 12
)

func (Status) EnumDescriptor

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) String

func (x Status) String() string

type TokenRequest

type TokenRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	ClusterName          string   `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Role                 string   `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TokenRequest) Descriptor

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

func (*TokenRequest) GetApi

func (m *TokenRequest) GetApi() string

func (*TokenRequest) GetClusterName

func (m *TokenRequest) GetClusterName() string

func (*TokenRequest) GetRole

func (m *TokenRequest) GetRole() string

func (*TokenRequest) ProtoMessage

func (*TokenRequest) ProtoMessage()

func (*TokenRequest) Reset

func (m *TokenRequest) Reset()

func (*TokenRequest) String

func (m *TokenRequest) String() string

func (*TokenRequest) XXX_DiscardUnknown

func (m *TokenRequest) XXX_DiscardUnknown()

func (*TokenRequest) XXX_Marshal

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

func (*TokenRequest) XXX_Merge

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

func (*TokenRequest) XXX_Size

func (m *TokenRequest) XXX_Size() int

func (*TokenRequest) XXX_Unmarshal

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

type TokenResponse

type TokenResponse struct {
	Kind                 string          `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	ApiVersion           string          `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Spec                 *_struct.Struct `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	Status               *TokenStatus    `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*TokenResponse) Descriptor

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

func (*TokenResponse) GetApiVersion

func (m *TokenResponse) GetApiVersion() string

func (*TokenResponse) GetKind

func (m *TokenResponse) GetKind() string

func (*TokenResponse) GetSpec

func (m *TokenResponse) GetSpec() *_struct.Struct

func (*TokenResponse) GetStatus

func (m *TokenResponse) GetStatus() *TokenStatus

func (*TokenResponse) ProtoMessage

func (*TokenResponse) ProtoMessage()

func (*TokenResponse) Reset

func (m *TokenResponse) Reset()

func (*TokenResponse) String

func (m *TokenResponse) String() string

func (*TokenResponse) XXX_DiscardUnknown

func (m *TokenResponse) XXX_DiscardUnknown()

func (*TokenResponse) XXX_Marshal

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

func (*TokenResponse) XXX_Merge

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

func (*TokenResponse) XXX_Size

func (m *TokenResponse) XXX_Size() int

func (*TokenResponse) XXX_Unmarshal

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

type TokenStatus

type TokenStatus struct {
	ExpirationTimestamp  *timestamp.Timestamp `protobuf:"bytes,1,opt,name=expirationTimestamp,proto3" json:"expirationTimestamp,omitempty"`
	Token                string               `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TokenStatus) Descriptor

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

func (*TokenStatus) GetExpirationTimestamp

func (m *TokenStatus) GetExpirationTimestamp() *timestamp.Timestamp

func (*TokenStatus) GetToken

func (m *TokenStatus) GetToken() string

func (*TokenStatus) ProtoMessage

func (*TokenStatus) ProtoMessage()

func (*TokenStatus) Reset

func (m *TokenStatus) Reset()

func (*TokenStatus) String

func (m *TokenStatus) String() string

func (*TokenStatus) XXX_DiscardUnknown

func (m *TokenStatus) XXX_DiscardUnknown()

func (*TokenStatus) XXX_Marshal

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

func (*TokenStatus) XXX_Merge

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

func (*TokenStatus) XXX_Size

func (m *TokenStatus) XXX_Size() int

func (*TokenStatus) XXX_Unmarshal

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

type UnimplementedKubekitServer

type UnimplementedKubekitServer struct {
}

UnimplementedKubekitServer can be embedded to have forward compatible implementations.

func (*UnimplementedKubekitServer) Apply

func (*UnimplementedKubekitServer) Delete

func (*UnimplementedKubekitServer) DeleteClusterConfig

func (*UnimplementedKubekitServer) Describe

func (*UnimplementedKubekitServer) GetClusters

func (*UnimplementedKubekitServer) Init

func (*UnimplementedKubekitServer) Token

func (*UnimplementedKubekitServer) UpdateCluster

func (*UnimplementedKubekitServer) Version

type UpdateClusterRequest

type UpdateClusterRequest struct {
	Api                  string            `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Kind                 string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	ClusterName          string            `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Variables            map[string]string `` /* 159-byte string literal not displayed */
	Credentials          map[string]string `` /* 163-byte string literal not displayed */
	Resources            []string          `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*UpdateClusterRequest) Descriptor

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

func (*UpdateClusterRequest) GetApi

func (m *UpdateClusterRequest) GetApi() string

func (*UpdateClusterRequest) GetClusterName

func (m *UpdateClusterRequest) GetClusterName() string

func (*UpdateClusterRequest) GetCredentials

func (m *UpdateClusterRequest) GetCredentials() map[string]string

func (*UpdateClusterRequest) GetKind

func (m *UpdateClusterRequest) GetKind() string

func (*UpdateClusterRequest) GetResources

func (m *UpdateClusterRequest) GetResources() []string

func (*UpdateClusterRequest) GetVariables

func (m *UpdateClusterRequest) GetVariables() map[string]string

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) Reset

func (m *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (m *UpdateClusterRequest) String() string

func (*UpdateClusterRequest) XXX_DiscardUnknown

func (m *UpdateClusterRequest) XXX_DiscardUnknown()

func (*UpdateClusterRequest) XXX_Marshal

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

func (*UpdateClusterRequest) XXX_Merge

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

func (*UpdateClusterRequest) XXX_Size

func (m *UpdateClusterRequest) XXX_Size() int

func (*UpdateClusterRequest) XXX_Unmarshal

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

type UpdateClusterResponse

type UpdateClusterResponse struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterResponse) Descriptor

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

func (*UpdateClusterResponse) GetApi

func (m *UpdateClusterResponse) GetApi() string

func (*UpdateClusterResponse) ProtoMessage

func (*UpdateClusterResponse) ProtoMessage()

func (*UpdateClusterResponse) Reset

func (m *UpdateClusterResponse) Reset()

func (*UpdateClusterResponse) String

func (m *UpdateClusterResponse) String() string

func (*UpdateClusterResponse) XXX_DiscardUnknown

func (m *UpdateClusterResponse) XXX_DiscardUnknown()

func (*UpdateClusterResponse) XXX_Marshal

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

func (*UpdateClusterResponse) XXX_Merge

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

func (*UpdateClusterResponse) XXX_Size

func (m *UpdateClusterResponse) XXX_Size() int

func (*UpdateClusterResponse) XXX_Unmarshal

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

type VersionRequest

type VersionRequest struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionRequest) Descriptor

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

func (*VersionRequest) GetApi

func (m *VersionRequest) GetApi() string

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) Reset

func (m *VersionRequest) Reset()

func (*VersionRequest) String

func (m *VersionRequest) String() string

func (*VersionRequest) XXX_DiscardUnknown

func (m *VersionRequest) XXX_DiscardUnknown()

func (*VersionRequest) XXX_Marshal

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

func (*VersionRequest) XXX_Merge

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

func (*VersionRequest) XXX_Size

func (m *VersionRequest) XXX_Size() int

func (*VersionRequest) XXX_Unmarshal

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

type VersionResponse

type VersionResponse struct {
	Api                  string   `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"`
	Kubekit              string   `protobuf:"bytes,2,opt,name=kubekit,proto3" json:"kubekit,omitempty"`
	Kubernetes           string   `protobuf:"bytes,3,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"`
	Docker               string   `protobuf:"bytes,4,opt,name=docker,proto3" json:"docker,omitempty"`
	Etcd                 string   `protobuf:"bytes,5,opt,name=etcd,proto3" json:"etcd,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetApi

func (m *VersionResponse) GetApi() string

func (*VersionResponse) GetDocker

func (m *VersionResponse) GetDocker() string

func (*VersionResponse) GetEtcd

func (m *VersionResponse) GetEtcd() string

func (*VersionResponse) GetKubekit

func (m *VersionResponse) GetKubekit() string

func (*VersionResponse) GetKubernetes

func (m *VersionResponse) GetKubernetes() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

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

func (*VersionResponse) XXX_Merge

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

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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