Created
August 21, 2018 10:38
-
-
Save akash-gautam/68cb225b2796e335a96fc0560c771f5f to your computer and use it in GitHub Desktop.
type.go contains the structure of objects of type sslconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package v1alpha1 | |
import meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
type SslConfig struct { | |
meta_v1.TypeMeta `json:",inline"` | |
meta_v1.ObjectMeta `json:"metadata"` | |
Spec SslConfigSpec `json:"spec"` | |
Status SslConfigStatus `json:"status,omitempty"` | |
} | |
type SslConfigSpec struct { | |
Cert string `json:"cert"` | |
Key string `json:"key"` | |
Domain string `json:"domain"` | |
} | |
type SslConfigStatus struct { | |
State string `json:"state,omitempty"` | |
Message string `json:"message,omitempty"` | |
} | |
type SslConfigList struct { | |
meta_v1.TypeMeta `json:",inline"` | |
meta_v1.ListMeta `json:"metadata"` | |
Items []SslConfig `json:"items"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment