Documentation ¶
Index ¶
- Constants
- type AssumeRolePolicyDocument
- func (p *AssumeRolePolicyDocument) AppendPolicy(policy AssumeRolePolicyStatement) error
- func (p *AssumeRolePolicyDocument) AppendPolicyIfNotExist(policy AssumeRolePolicyStatement) error
- func (p *AssumeRolePolicyDocument) IncludePolicy(policy AssumeRolePolicyStatement) (bool, error)
- func (p *AssumeRolePolicyDocument) JSON() string
- type AssumeRolePolicyStatement
- type Cluster
- type ClusterLog
- type ClusterMetaData
- type ClusterState
- type ClusterTask
- type ClusterTaskState
- type ClusterType
- type RRSAConfig
- type RamRole
Constants ¶
View Source
const ( AssumeRolePolicyKeyStatement = "Statement" AssumeRolePolicyKeyVersion = "Version" AssumeRolePolicyVersionLatest = "1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumeRolePolicyDocument ¶
type AssumeRolePolicyDocument map[string]interface{}
func MakeAssumeRolePolicyDocument ¶
func MakeAssumeRolePolicyDocument(policies []AssumeRolePolicyStatement) AssumeRolePolicyDocument
func (*AssumeRolePolicyDocument) AppendPolicy ¶
func (p *AssumeRolePolicyDocument) AppendPolicy(policy AssumeRolePolicyStatement) error
func (*AssumeRolePolicyDocument) AppendPolicyIfNotExist ¶ added in v0.1.1
func (p *AssumeRolePolicyDocument) AppendPolicyIfNotExist(policy AssumeRolePolicyStatement) error
func (*AssumeRolePolicyDocument) IncludePolicy ¶
func (p *AssumeRolePolicyDocument) IncludePolicy(policy AssumeRolePolicyStatement) (bool, error)
func (*AssumeRolePolicyDocument) JSON ¶
func (p *AssumeRolePolicyDocument) JSON() string
type AssumeRolePolicyStatement ¶
type AssumeRolePolicyStatement map[string]interface{}
func MakeAssumeRolePolicyStatementWithServiceAccount ¶
func MakeAssumeRolePolicyStatementWithServiceAccount(oidcIssuer, oidcArn, namespace, serviceAccount string) AssumeRolePolicyStatement
func (*AssumeRolePolicyStatement) Equal ¶
func (s *AssumeRolePolicyStatement) Equal(another AssumeRolePolicyStatement) bool
func (*AssumeRolePolicyStatement) JSON ¶
func (s *AssumeRolePolicyStatement) JSON() string
type Cluster ¶
type Cluster struct { ClusterId string ClusterType ClusterType MetaData ClusterMetaData Name string RegionId string State ClusterState }
type ClusterLog ¶
type ClusterMetaData ¶
type ClusterMetaData struct {
RRSAConfig RRSAConfig `json:"RRSAConfig"`
}
type ClusterState ¶
type ClusterState string
var ClusterStateRunning ClusterState = "running"
func (ClusterState) IsRunning ¶
func (s ClusterState) IsRunning() bool
type ClusterTask ¶
type ClusterTask struct { TaskId string State ClusterTaskState Error interface{} Result interface{} }
func (ClusterTask) Err ¶
func (t ClusterTask) Err() string
type ClusterTaskState ¶
type ClusterTaskState string
var ( ClusterTaskStateSuccess ClusterTaskState = "success" ClusterTaskStateFail ClusterTaskState = "fail" ClusterTaskStateTimeout ClusterTaskState = "timeout" ClusterTaskStateCanceled ClusterTaskState = "canceled" )
func (ClusterTaskState) IsNotSuccess ¶
func (s ClusterTaskState) IsNotSuccess() bool
type ClusterType ¶
type ClusterType string
var ClusterTypeManagedKubernetes ClusterType = "ManagedKubernetes"
type RRSAConfig ¶
Click to show internal directories.
Click to hide internal directories.