multicluster-controller: admiralty.io/multicluster-controller/pkg/reference Index | Files

package reference

import "admiralty.io/multicluster-controller/pkg/reference"

Index

Package Files

reference.go

func SetMulticlusterControllerReference Uses

func SetMulticlusterControllerReference(o metav1.Object, ref *MulticlusterOwnerReference) error

type MulticlusterOwnerReference Uses

type MulticlusterOwnerReference struct {
    APIVersion string    `json:"apiVersion" protobuf:"bytes,5,opt,name=apiVersion"`
    Kind       string    `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    Name       string    `json:"name" protobuf:"bytes,3,opt,name=name"`
    UID        types.UID `json:"uid" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
    // +optional
    Controller *bool `json:"controller,omitempty" protobuf:"varint,6,opt,name=controller"`
    // +optional
    BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty" protobuf:"varint,7,opt,name=blockOwnerDeletion"`

    ClusterName string `json:"clusterName" protobuf:"bytes,9,opt,name=clusterName"`
    Namespace   string `json:"namespace" protobuf:"bytes,8,opt,name=namespace"`
}

func GetMulticlusterControllerOf Uses

func GetMulticlusterControllerOf(o metav1.Object) *MulticlusterOwnerReference

func NewMulticlusterOwnerReference Uses

func NewMulticlusterOwnerReference(owner metav1.Object, gvk schema.GroupVersionKind, clusterName string) *MulticlusterOwnerReference

Package reference imports 4 packages (graph) and is imported by 5 packages. Updated 2018-10-19. Refresh now. Tools for package owners.