Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchResponse ¶
Types ¶
type AllVersionSupporter ¶
type AllVersionSupporter struct{}
func (*AllVersionSupporter) VersionSupported ¶
func (s *AllVersionSupporter) VersionSupported(v string) bool
type CronjobHandler ¶
type CronjobHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewCronjobHandler ¶
func NewCronjobHandler(ptm admission.PodTemplateSpecMutator) *CronjobHandler
func (*CronjobHandler) Handle ¶
func (c *CronjobHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*CronjobHandler) Kind ¶
func (c *CronjobHandler) Kind() string
type DaemonSetHandler ¶
type DaemonSetHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewDaemonSetHandler ¶
func NewDaemonSetHandler(ptm admission.PodTemplateSpecMutator) *DaemonSetHandler
func (*DaemonSetHandler) Handle ¶
func (d *DaemonSetHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*DaemonSetHandler) Kind ¶
func (d *DaemonSetHandler) Kind() string
type DefaultDecoderInjector ¶
type DefaultDecoderInjector struct {
// contains filtered or unexported fields
}
func (*DefaultDecoderInjector) InjectDecoder ¶
func (d *DefaultDecoderInjector) InjectDecoder(decoder *admission.Decoder) error
type DeploymentHandler ¶
type DeploymentHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewDeploymentHandler ¶
func NewDeploymentHandler(ptm admission.PodTemplateSpecMutator) *DeploymentHandler
func (*DeploymentHandler) Handle ¶
func (d *DeploymentHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*DeploymentHandler) Kind ¶
func (d *DeploymentHandler) Kind() string
type JobHandler ¶
type JobHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewJobHandler ¶
func NewJobHandler(ptm admission.PodTemplateSpecMutator) *JobHandler
func (*JobHandler) Handle ¶
func (j *JobHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*JobHandler) Kind ¶
func (j *JobHandler) Kind() string
type PodHandler ¶
type PodHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewPodHandler ¶
func NewPodHandler(ptm admission.PodTemplateSpecMutator) *PodHandler
func (*PodHandler) Handle ¶
func (p *PodHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*PodHandler) Kind ¶
func (p *PodHandler) Kind() string
type ReplicaSetHandler ¶
type ReplicaSetHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewReplicaSetHandler ¶
func NewReplicaSetHandler(ptm admission.PodTemplateSpecMutator) *ReplicaSetHandler
func (*ReplicaSetHandler) Handle ¶
func (r *ReplicaSetHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*ReplicaSetHandler) Kind ¶
func (r *ReplicaSetHandler) Kind() string
type ReplicationControllerHandler ¶
type ReplicationControllerHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewReplicationControllerHandler ¶
func NewReplicationControllerHandler(ptm admission.PodTemplateSpecMutator) *ReplicationControllerHandler
func (*ReplicationControllerHandler) Handle ¶
func (r *ReplicationControllerHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*ReplicationControllerHandler) Kind ¶
func (r *ReplicationControllerHandler) Kind() string
type StatefulSetHandler ¶
type StatefulSetHandler struct { DefaultDecoderInjector AllVersionSupporter // contains filtered or unexported fields }
func NewStatefulSetHandler ¶
func NewStatefulSetHandler(ptm admission.PodTemplateSpecMutator) *StatefulSetHandler
func (*StatefulSetHandler) Handle ¶
func (sts *StatefulSetHandler) Handle(ctx context.Context, req kadmission.Request) kadmission.Response
func (*StatefulSetHandler) Kind ¶
func (sts *StatefulSetHandler) Kind() string
Click to show internal directories.
Click to hide internal directories.