Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutationConfig ¶
type MutationServer ¶
type MutationServer struct {
// contains filtered or unexported fields
}
func NewMutationServer ¶
func NewMutationServer(c *MutationConfig) (*MutationServer, error)
func (*MutationServer) Mutate ¶
func (s *MutationServer) Mutate(body []byte, verbose bool) ([]byte, error)
Mutate mutates the object received via admReview and creates a response that embeds a patch to the received pod
func (*MutationServer) Serve ¶
func (s *MutationServer) Serve()
Click to show internal directories.
Click to hide internal directories.