/
cluster.go
60 lines (43 loc) · 2.33 KB
/
cluster.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
// Container Engine for Kubernetes API
//
// API for the Container Engine for Kubernetes service. Use this API to build, deploy,
// and manage cloud-native applications. For more information, see
// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
//
package containerengine
import (
"github.com/oracle/oci-go-sdk/common"
)
// Cluster A Kubernetes cluster. Avoid entering confidential information.
type Cluster struct {
// The OCID of the cluster.
Id *string `mandatory:"false" json:"id"`
// The name of the cluster.
Name *string `mandatory:"false" json:"name"`
// The OCID of the compartment in which the cluster exists.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The OCID of the virtual cloud network (VCN) in which the cluster exists.
VcnId *string `mandatory:"false" json:"vcnId"`
// The version of Kubernetes running on the cluster masters.
KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`
// The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// Optional attributes for the cluster.
Options *ClusterCreateOptions `mandatory:"false" json:"options"`
// Metadata about the cluster.
Metadata *ClusterMetadata `mandatory:"false" json:"metadata"`
// The state of the cluster masters.
LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// Details about the state of the cluster masters.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Endpoints served up by the cluster masters.
Endpoints *ClusterEndpoints `mandatory:"false" json:"endpoints"`
// Available Kubernetes versions to which the clusters masters may be upgraded.
AvailableKubernetesUpgrades []string `mandatory:"false" json:"availableKubernetesUpgrades"`
}
func (m Cluster) String() string {
return common.PointerString(m)
}