package
0.0.0-20200825171425-5fac3ffb330d
Repository: https://github.com/ibm/ibmcloud-iam-operator.git
Documentation: pkg.go.dev

# Functions

Conditions returns resource list of conditions.
EmitStatusEvent creates an event representing the current object status.
EnsureFinalizer makes sure the given object has the given finalizer.
EnsureFinalizerAndPut makes sure obj contains finalizer.
GetCondition returns the condition with the provided type.
GetStatus gets the resource status field (if any).
HasFinalizer returns true if the resource has the given finalizer name.
Kind gets the resource kind.
ObjectMeta gets the resource ObjectMeta field.
PutAndEmit updates the object stus on the server and emits an event (on the same server) recording current object state.
PutStatusAndEmit updates the object status on the server and emits an event (on the same server) recording current object state.
RemoveCondition removes the condition with the provided type.
RemoveFinalizer clears the given finalizer from the list of the obj finalizers.
RemoveFinalizerAndPut removes finalizer from obj (if present).
SeedGeneration gets the resource generation.
SetCondition updates the resource condition to include the provided condition.
SetStatus updates the object status.

# Constants

ResourceStateBinding indicates a resource such as a cloud service is being bound.
ResourceStateCreated indicates a resource is in a created state.
ResourceStateDeleting indicates a resource is being deleted.
ResourceStateFailed indicates a resource is in a failed state.
ResourceStateOnline indicates a resource has been fully synchronized and online.
ResourceStatePending indicates a resource is in a pending state.
ResourceStateRetrying indicates a resource failed to provision for external reasons.
ResourceStateStopped indicates a resource is in a running state.
ResourceStateUnknown indicates a resource is in a unknown state.
ResourceStateWaiting indicates a resource is in a waiting state, e.g.

# Structs

Condition is the base struct for representing resource conditions.
Resource is the base struct for custom resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient.
ResourceList is the base struct for custom list types +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ResourceStatus defines the status for each resource.
Spec provides embeddable Spec.

# Interfaces

Status represent a minimal set of status state.
StatusAccessor gets access to Status.