Files
go/kubernetes/client/v1alpha1_initializer.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

21 lines
964 B
Go

/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// Initializer describes the name and the failure policy of an initializer, and what resources it applies to.
type V1alpha1Initializer struct {
// Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required
Name string `json:"name"`
// Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
Rules []V1alpha1Rule `json:"rules,omitempty"`
}