Documentation
¶
Overview ¶
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Index ¶
- func BinaryAuthorizationDiffSuppress(k, old, new string, r *schema.ResourceData) bool
- func ContainerOperationWait(config *transport_tpg.Config, op *container.Operation, ...) error
- func DataSourceGoogleContainerCluster() *schema.Resource
- func DataSourceGoogleContainerEngineVersions() *schema.Resource
- func ResourceContainerCluster() *schema.Resource
- func ResourceContainerClusterUpgradeV1(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- func ResourceContainerNodePool() *schema.Resource
- func Rfc3339TimeDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func SecretManagerCfgSuppress(k, old, new string, r *schema.ResourceData) bool
- type ContainerOperationWaiter
- func (w *ContainerOperationWaiter) Error() error
- func (w *ContainerOperationWaiter) IsRetryable(error) bool
- func (w *ContainerOperationWaiter) OpName() string
- func (w *ContainerOperationWaiter) PendingStates() []string
- func (w *ContainerOperationWaiter) QueryOp() (interface{}, error)
- func (w *ContainerOperationWaiter) SetOp(op interface{}) error
- func (w *ContainerOperationWaiter) State() string
- func (w *ContainerOperationWaiter) TargetStates() []string
- type NodePoolInformation
- type RestingStates
- type StateType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryAuthorizationDiffSuppress ¶
func BinaryAuthorizationDiffSuppress(k, old, new string, r *schema.ResourceData) bool
func ContainerOperationWait ¶
func Rfc3339TimeDiffSuppress ¶
func Rfc3339TimeDiffSuppress(k, old, new string, d *schema.ResourceData) bool
Single-digit hour is equivalent to hour with leading zero e.g. suppress diff 1:00 => 01:00. Assume either value could be in either format.
func SecretManagerCfgSuppress ¶
func SecretManagerCfgSuppress(k, old, new string, r *schema.ResourceData) bool
Types ¶
type ContainerOperationWaiter ¶
type ContainerOperationWaiter struct { Service *container.Service Context context.Context Op *container.Operation Project string Location string UserProjectOverride bool }
func (*ContainerOperationWaiter) Error ¶
func (w *ContainerOperationWaiter) Error() error
func (*ContainerOperationWaiter) IsRetryable ¶
func (w *ContainerOperationWaiter) IsRetryable(error) bool
func (*ContainerOperationWaiter) OpName ¶
func (w *ContainerOperationWaiter) OpName() string
func (*ContainerOperationWaiter) PendingStates ¶
func (w *ContainerOperationWaiter) PendingStates() []string
func (*ContainerOperationWaiter) QueryOp ¶
func (w *ContainerOperationWaiter) QueryOp() (interface{}, error)
func (*ContainerOperationWaiter) SetOp ¶
func (w *ContainerOperationWaiter) SetOp(op interface{}) error
func (*ContainerOperationWaiter) State ¶
func (w *ContainerOperationWaiter) State() string
func (*ContainerOperationWaiter) TargetStates ¶
func (w *ContainerOperationWaiter) TargetStates() []string
type NodePoolInformation ¶
type NodePoolInformation struct {
// contains filtered or unexported fields
}
type RestingStates ¶
type StateType ¶
type StateType int
A StateType represents the specific type of resting state that a state value is.
const ( UndefinedState StateType = iota // A special resting state, that generally requires special consideration // Interactive states like PENDING_PARTNER in interconnects are an example RestingState // An error state is a state that indicates that a resource is not working // correctly. If this is Create, it should be tainted by returning an error ErrorState // A ready resource is fully provisioned, and ready to accept traffic/work ReadyState )
Source Files
¶
- container_operation.go
- data_source_google_container_cluster.go
- data_source_google_container_engine_versions.go
- node_config.go
- resource_container_cluster.go
- resource_container_cluster_migrate.go
- resource_container_cluster_migratev1.go
- resource_container_cluster_sweeper.go
- resource_container_node_pool.go
- resource_container_node_pool_migrate.go
- state_util.go