...

Source file src/github.com/openshift/api/servicecertsigner/v1alpha1/types.go

Documentation: github.com/openshift/api/servicecertsigner/v1alpha1

     1  package v1alpha1
     2  
     3  import (
     4  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
     5  
     6  	operatorv1 "github.com/openshift/api/operator/v1"
     7  )
     8  
     9  // +genclient
    10  // +genclient:nonNamespaced
    11  // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    12  
    13  // ServiceCertSignerOperatorConfig provides information to configure an operator to manage the service cert signing controllers
    14  //
    15  // Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
    16  // +openshift:compatibility-gen:level=4
    17  // +openshift:compatibility-gen:internal
    18  type ServiceCertSignerOperatorConfig struct {
    19  	metav1.TypeMeta `json:",inline"`
    20  
    21  	// metadata is the standard object's metadata.
    22  	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    23  	metav1.ObjectMeta `json:"metadata"`
    24  
    25  	Spec   ServiceCertSignerOperatorConfigSpec   `json:"spec"`
    26  	Status ServiceCertSignerOperatorConfigStatus `json:"status"`
    27  }
    28  
    29  type ServiceCertSignerOperatorConfigSpec struct {
    30  	operatorv1.OperatorSpec `json:",inline"`
    31  }
    32  
    33  type ServiceCertSignerOperatorConfigStatus struct {
    34  	operatorv1.OperatorStatus `json:",inline"`
    35  }
    36  
    37  // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    38  
    39  // ServiceCertSignerOperatorConfigList is a collection of items
    40  //
    41  // Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
    42  // +openshift:compatibility-gen:level=4
    43  // +openshift:compatibility-gen:internal
    44  type ServiceCertSignerOperatorConfigList struct {
    45  	metav1.TypeMeta `json:",inline"`
    46  
    47  	// metadata is the standard list's metadata.
    48  	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    49  	metav1.ListMeta `json:"metadata,omitempty"`
    50  
    51  	// Items contains the items
    52  	Items []ServiceCertSignerOperatorConfig `json:"items"`
    53  }
    54  

View as plain text