Documentation
¶
Overview ¶
+kubebuilder:object:generate=true
Index ¶
- func HasFinalizer(o metav1.Object, finalizer string) bool
- func RemoveFinalizer(o metav1.Object, finalizer string)
- func SetFinalizer(o metav1.Object, finalizer string)
- type AWSEvent
- type AWSStatus
- type Principal
- type PrincipalLister
- type SecretNamer
- type Service
- type State
- type Status
- type StatusReader
- type StatusWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasFinalizer ¶
HasFinalizer is a helper for checking if finalizer exists
func RemoveFinalizer ¶
RemoveFinalizer removes finalizer from object if it exists
func SetFinalizer ¶
SetFinalizer adds finalizer to object if not exists
Types ¶
type AWSEvent ¶
type AWSEvent struct { // Status of the currently running instance. Status string `json:"status,omitempty"` // Reason for the current status of the instance. Reason string `json:"reason,omitempty"` // Time of the event cast. Time *metav1.Time `json:"time,omitempty"` }
AWSEvent is a single action taken against the resource at any given time.
func (*AWSEvent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSEvent.
func (*AWSEvent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AWSStatus ¶
type AWSStatus struct { // ID of an instance for a reference. ID string `json:"id,omitempty"` // Name of an instance for a reference. Name string `json:"name,omitempty"` // Status of the currently running instance. Status string `json:"status,omitempty"` // Reason for the current status of the instance. Reason string `json:"reason,omitempty"` // Events will hold more in-depth details of the current state of the instance. Events []AWSEvent `json:"events,omitempty"` // Info shows any outputs returned from GetStackOutputWhitelist Info map[string]string `json:"info,omitempty"` }
AWSStatus a cloudformation Stack
func (*AWSStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSStatus.
func (*AWSStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Principal ¶
type Principal interface { GetRoleName() string StatusReader }
Principal is the interface shared by all principal types
type PrincipalLister ¶
PrincipalLister declares that a type can return a list of principals
type SecretNamer ¶
type SecretNamer interface {
GetSecretName() string
}
SecretNamer names a Secret to hold sensitive details
type Service ¶
type Service interface { runtime.Object metav1.Object schema.ObjectKind StatusReader StatusWriter }
Service is the interface shared by all service resources
type Status ¶
type Status struct { // Generic service state State State `json:"state,omitempty"` // AWS specific status AWS AWSStatus `json:"aws,omitempty"` }
Status is the type shared by most service resources
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusReader ¶
StatusReader can fetch a status
type StatusWriter ¶
StatusWriter can set status fields